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…