Leetcode problem 22 - Number of Employees Who Met the Target
There are n employees in a company, numbered from 0 to n - 1. Each employee i has worked for hours[i] hours in the company.
There are n employees in a company, numbered from 0 to n - 1. Each employee i has worked for hours[i] hours in the company.
Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
Given an integer x, return true if x is a palindrome, and false otherwise.
You are given an array prices where prices[i] is the price of a given stock on the ith day.
Given a non-empty array of integers nums, every element appears twice except for one. Find that single one.