Tutorials  Articles  Notifications  Login  Signup


updates

Google Lab

Coding problems for preparation of Google interview


Latest problems in this lab


Finding the numbers

You are given an array A containing 2*N+2 positive numbers, out of which 2*N numbers exist in pairs whereas the other two number occur exactly once and …

Try it


Level: Medium | Uploaded on Aug. 15, 2020


Maximum Index

Given an array A[] of N positive integers. The task is to find the maximum of j - i subjected to the constraint of A[i] <= A[j].

Try it


Level: Medium | Uploaded on Aug. 15, 2020


Subarray with given sum

Given an unsorted array A of size N of non-negative integers, find a continuous sub-array which adds to a given number S.

Try it


Level: Medium | Uploaded on Aug. 15, 2020