## Minimum number of jumps to reach end | Set 2 (O(n) solution)

Given an array of integers where each element represents the max number of steps that can be made forward from that element. Write a function… Read More »

Given an array of integers where each element represents the max number of steps that can be made forward from that element. Write a function… Read More »

Given a positive integer n, find if it can be expressed as xy where y > 1 and x > 0. x and y both… Read More »

I was interviewed by housing.com through campus placements. Here is my interview experience. Round 1: Resume based and 1 coding question. Briefly discussed about projects… Read More »

I was recently interviewed by housing.com and received the offer. Following is my experience. Applied through Career page 1st Round : Online Written Round Coding… Read More »

Here’s my Housing.com interview experience. Round 1 A discussion on resume, internship and projects. A project on Search engine (was on resume) was spoken in… Read More »

Given a string str, find the length of the longest substring without repeating characters. For “ABDEFGABEF”, the longest substring are “BDEFGA” and “DEFGAB”, with length… Read More »

Given a binary tree and a number, return true if the tree has a root-to-leaf path such that adding up all the values along the… Read More »

Write a function to print spiral order traversal of a tree. For below tree, function should print 1, 2, 3, 4, 5, 6, 7. Recommended:… Read More »

Write an efficient program to find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum. Recommended: Please solve… Read More »