Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. The relative...
You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elemen...
A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The first diff...
You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres to the north, then x[1] metres to the west, x[2] metres to the so...