Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two...
Given a m * n matrix of distinct numbers, return all lucky numbers in the matrix in any order. A luc...
Given an integer n, return a string with n characters such that each character in such string occurs...
Given a string s. You should re-order the string using the following algorithm: Pick the smallest ch...
Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. T...
Write a program to count the number of days between two dates. The two dates are given as strings, t...
Given an integer array arr. You have to sort the integers in the array in ascending order by the num...
Given a m x n matrix grid which is sorted in non-increasing order both row-wise and column-wise, ret...
Given an array arr of integers, check if there exists two integers N and M such that N is the double...
Given a non-negative integer num, return the number of steps to reduce it to zero. If the current nu...