Given an array of integers arr, and three integers a, b and c. You need to find the number of good t...
Given a string s and an integer array indices of the same length. The string s will be shuffled such...
Given two non-negative integers low and high. Return the count of odd numbers between low and high (...
Given numBottles full water bottles, you can exchange numExchange empty water bottles for one full w...
Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Ret...
Given a date string in the form Day Month Year, where: Day is in the set {"1st", "2nd...
Given an array of numbers arr. A sequence of numbers is called an arithmetic progression if the diff...
Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, ...
Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the...
Given an integer n and an integer start. Define an array nums where nums[i] = start + 2*i (0-indexed...