Guess The Output II
Given an object with functions first() and second() - Guess the output of the given snippet that contains two function calls, one is an arrow function...
Sorted Squared Array
Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order.
Given two arrays of integers, find the pair of values (one value in each array) with the smallest (non-negative) difference.