Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a…

Write an efficient program to find the sum of contiguous subarray within a one-dimensional array of numbers which has the…

Problem: You are in an infinite 2D grid where you can move in any of the 8 directions : (x,y)…

Problem: Given a positive integer which fits in a 32 bit signed integer, find if it can be expressed as…

Problem: Given an even number ( greater than 2 ), return two prime numbers whose sum will be equal to…

Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Try solving…

Problem Write a function that takes an unsigned integer and returns the number of ’1′ bits it has (also known…

Problem: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm…

Consider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide…

Customer segment that generates maximum profit Select MAX (Profit), Customer Segment From ‘TABLE 1’ 2. Most expensive shipping mode…