Tag: C++ coding exercise
Given a List of words, find out the words that can be typed using letters of alphabet on only one row’s of American keyboard like the image below. The …
On Linux, you can search the binaries in the environment PATH variable using the command whereis or which. In here, a simple whereis/which implementation using the Windows Batch command …
Given an array (non empty) of integers, find the number of minimum moves to make all elements equal. A move is to increment (n – 1) elements by one. …
Given a 32-bit integer (signed or unsigned), convert it to its hexadecimal in lowercase. The result should not have leading zero unless it is equal to zero. Please do …
Given a number of coordinates (could be any dimensions, but for simplicity we use 2 dimension X/Y coordinates for demonstration), you can get the ‘central’ point by averaging all …