Category: 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 …
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. …
This is another classic interview question: You are asked to write a function (in C/C++) that determines the number of bits required to convert one integer to another. The …
You are asked to find the number of order pairs (x, y) such that, and x, y are natural numbers which also satisfy . Mathematics This shouldn’t be too …
There is a 2D binary matrix M filled with 0’s and 1’s, your task is to find the largest square containing all 1’s and return its area. For example, …