Commonly asked questions in Flipkart Interviews
Snake and Ladder Problem Chocolate Distribution Problem Solve the Sudoku Shortest direction 0 – 1 Knapsack Problem Inversion of array Maximum of all subarrays of… Read More »
Snake and Ladder Problem Chocolate Distribution Problem Solve the Sudoku Shortest direction 0 – 1 Knapsack Problem Inversion of array Maximum of all subarrays of… Read More »
Given a plain-text message and a numeric key, cipher/de-cipher the given text using Rail Fence algorithm. The rail fence cipher (also called a zigzag cipher)… Read More »
Given three numbers x, y and k, find the k’th common factor of x and y. Print -1 if there are less than k common… Read More »
Coding round was difficult, recently Samsung has increased difficulty level of its coding round, so please be in touch with DFS, BFS, Graph, matrix and… Read More »
The Perrin numbers are the numbers in the following integer sequence. 3, 0, 2, 3, 2, 5, 5, 7, 10, 12, 17, 22, 29, 39… Read More »
We have introduced Graph basics in Graph and its representations. In this post, a different STL based representation is used that can be helpful to… Read More »
Given an array of n elements. Make strictly increasing and strictly decreasing subsequences from the array such that each array element belongs to increasing subsequence… Read More »
java.io.LineNumberInputStream class is simply an extension of input stream providing a extra facility to keep the record of current line number. Line is a sequence… Read More »
Filter Streams filters data as they read and write data in the Input Stream, filters it and pass it on to the underlying Streams. Filter… Read More »
In previous posts, we have discussed how to calculate the Lowest Common Ancestor (LCA) for a binary tree and a binary search tree (this, this… Read More »
Given a Binary Number as string, print its 2’s complements. 2’s complement of a binary number is 1 added to the 1’s complement of the… Read More »
Given a positive integer n. Find the minimum number which divide n to make it a perfect square. Examples: Input : n = 50 Output… Read More »
Flip-flop is a circuit that maintains a state until directed by input to change the state. A basic flip-flop can be constructed using four-NAND or… Read More »
The method that is used to transfer information between internal storage and external I/O devices is known as I/O interface. The CPU is interfaced using… Read More »
Reverse words in a given string Number Formation Overlapping rectangles Ugly Numbers Column name from a given column number Stock buy and sell Non Repeating… Read More »