Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Tag Archives: Yahoo
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given a stream of characters and we have to find first non repeating character each time a character is inserted to the stream. Examples: Input… Read More
Given a stack of integers, sort it in ascending order using another temporary stack. Examples: Input : [34, 3, 31, 98, 92, 23] Output :… Read More
There are N houses built in a line, each of which contains some value in it. A thief is going to steal the maximum value… Read More
A sorted array contains 6 different numbers, only 1 number is repeated five times. So there are total 10 numbers in array. Find the duplicate… Read More
Given a positive integer n which represents the dimensions of a 4n x 4n matrix with values from 1 to n filled from left to… Read More
Given an array and a range [lowVal, highVal], partition the array around the range such that array is divided in three parts. All elements smaller… Read More
Given a dictionary, a method to do a lookup in the dictionary and a M x N board where every cell has one character. Find… Read More
Given an even number (greater than 2 ), print two prime numbers whose sum will be equal to given number. There may be several combinations… Read More
Given a value n, find out the largest palindrome number which is product of two n digit numbers. Examples : Input : n = 2… Read More