Backtracking Sudoku 
0 
115 
Algorithms  Backtracking  Java 

Number of combinations for a given sum (with restriction) 
0 
125 
Algorithms  Combinatorics  DynamicProgramming  Maths 

Comparison of Red Black Tree and AVL Tree 
1 
284 
Algorithms  DataStructure  Tree 
Amazon 
Time complexity of recursive statement 
2 
115 
Algorithms  DataStructure  Recursion 

update Dijkstra’s algorithm in case there is 2 shortest paths from strating node to other node 
0 
114 
Algorithms  C  Graph 

How to print each subsequence of size n/2 from an array of size n? 
0 
174 
Algorithms  DataStructure 
Microsoft 
Difference between BFS abd DFS. 
5 
345 
Algorithms  bfs  dfs  Graph  Tree 
Thoughtworks 
How to perform left rotation in RedBlack tree. 
0 
122 
Algorithms 

How to divide number M into N parts? where the value of N is dynamic, depending on the value of M 
0 
177 
Algorithms  Java 

Probability analysis and randomized algorithm 
1 
139 
Algorithms 

complexity of pow(a,b) 
0 
124 
Algorithms 

Largest of three integers without comparison operators 
1 
244 
Algorithms 
Qualcomm 
Algorithm to compute a list of reachable positions 
0 
170 
Algorithms  Java 

What is merge sorting? 
2 
511 
Algorithms 
Practo 
What is a backtracking algorithm? 
2 
458 
Algorithms 
Practo 
Stock market prediction 
1 
380 
Algorithms 
One97 
Find maximum sum 
2 
587 
Algorithms 
OlaCabs 
Find Min element from stack with O(1). 
2 
618 
Algorithms  DataStructure 
OlaCabs 
Write automation script for testing. 
0 
376 
Algorithms  programminglanguage 
OlaCabs 
Write pseudo code to show that two strings are anagrams of each other. 
1 
381 
Algorithms 
OlaCabs 
Explain the depth of recursion? 
2 
533 
Algorithms 
Intel 
Exactly simulate recursive algorithm into Iterative 
0 
59 
Algorithms  Recursion 

Define flow chart 
1 
377 
Algorithms 
CGI 
Define algorithm 
6 
389 
Algorithms 
CGI 
Sort an alphanumeric array into separate arrays. 
3 
334 
Algorithms 
CGI 
Write the code for selection sort. 
3 
333 
Algorithms 
CGI 
What is DSA? 
1 
387 
Algorithms 
CGI 
Nearest upper bound and nearest lower bound of complexity 
0 
47 
Algorithms 

Write a code to multiply a number with 3.5 without using *,/,% operator? 
2 
353 
Algorithms 
Aricent 
How to sort a file with huge volume of data given memory constraint ? 
2 
291 
Algorithms 
Groupon 
what is stable and unstable sorting? 
2 
86 
Algorithms  Sorting 

Explain a jigsaw puzzle ? 
2 
352 
Algorithms 
Moonfrog Labs 
Design a solution to find the most visited product in last 2 hours 
0 
157 
Algorithms  DataStructure  DynamicProgramming  System Design 
Microsoft 
In Algorithmic context how would you define book keeping operations? 
1 
367 
Algorithms 
Expedia 
What is DiffieHellman? 
1 
397 
Algorithms 
Expedia 
What is red black tree? 
1 
411 
Algorithms 
Expedia 
What is Floyd’s Cycle Detection? 
1 
394 
Algorithms 
Expedia 
What is the importance of Big O? 
2 
392 
Algorithms 
Expedia 
Which algorithms come under brute force, greedy and Divide and conquer? 
1 
790 
Algorithms  DataStructure 
Hike 
What is the general strategy for Markov Algorithm? 
1 
428 
Algorithms 
TCS 
What are the arguments present in pattern matching algorithms? 
2 
384 
Algorithms 
TCS 
What is Euler’s totient function? 
2 
690 
Algorithms 
Cisco 
Design tab system 
5 
1204 
Algorithms  DataStructure  DesignPattern 
MorganStanley 
What data structure will you use to suggest friends in FB 
1 
1254 
Algorithms  DataStructure 
MorganStanley 
Data Structure for autosuggestion 
2 
974 
Algorithms  DataStructure 
MorganStanley 
Difference between DP and recursion 
3 
1151 
Algorithms 
MorganStanley 
Which sorting algorithm has best case complexity O(nlogn) and worst case as O(n^2)? 
6 
952 
Algorithms  Sorting 
Cisco 
Find Complexity of Algorithm? 
1 
466 
Algorithms 
Cisco 
Implementation of random number generator 
1 
548 
Algorithms 
MorganStanley 
Design Algorithm 
1 
480 
Algorithms 
MorganStanley 
How to store Ndimensional array in a database. 
1 
577 
Algorithms  DBMS 
MorganStanley 
Data Structure Design 
1 
497 
Algorithms  DataStructure 
MorganStanley 
Algorithm Related Question 
1 
505 
Algorithms 
MorganStanley 
Algorithm Question 
1 
497 
Algorithms 
MorganStanley 
Explain modified Bubble Sorting 
1 
762 
Algorithms 
MorganStanley 
Explain Job Scheduling ? 
1 
527 
Algorithms 
Visa 
Given an integer n, how many BST’s can you make with n no of nodes? 
5 
1441 
Algorithms 
Amazon 
Check whether a grammar is ambiguous or not 
2 
887 
Algorithms 
Amazon 
Find number of days between two given dates 
0 
69 
Algorithms 
Amazon 
Algorithm Design 
1 
427 
Algorithms 
MakeMyTrip 
What is 8 Queen problem ? 
1 
816 
Algorithms  DataStructure  DesignPattern 
Oracle 
Formulate the angle between the hour hand and minute hand of the clock for any given time. 
2 
473 
Algorithms 
Directi 
Binary Tree with Three nodes a,b and c 
2 
562 
Algorithms 
Directi 
Algorithm design 
2 
467 
Algorithms 
Directi 
Design an algorithm 
1 
477 
Algorithms 
Directi 
Dynamic Programming 
2 
761 
Algorithms  DynamicProgramming 
Directi 
Algorithm Puzzle 
2 
571 
Algorithms 
Directi 
Write the implementation of String class. Implement any four methods of your choice. 
1 
828 
Algorithms 
Microsoft 
Explain TRIE ? 
1 
635 
Algorithms 
Flipkart 
Find complexity of the code. 
12 
858 
Algorithms 
Samsung 
Reverse the given string 1 
7 
1013 
Algorithms  String 
Samsung 
Time complexity Tower of Hanoi problem. 
2 
1058 
Algorithms 
Samsung 
C program to find direction of stack growth. 
1 
1139 
Algorithms  DataStructure 
Samsung 
What is time complexity 
4 
1412 
Algorithms 
Amazon 
Longest increasing subsequence 
1 
1075 
2D Array  Algorithms  DynamicProgramming 
Samsung 
Kandane’s Algorithm. 
2 
964 
Algorithms  DynamicProgramming 
Samsung 
Fibonacci with recursion and its time complexity derivation. 
1 
961 
Algorithms 
Qualcomm 
Integer kanpsack and fractional knapsack 
3 
811 
Algorithms  DynamicProgramming  GreedyAlgorithm 
bhel  nhai 
Knap Sack Poblem 
6 
1434 
Algorithms  DynamicProgramming  GreedyAlgorithm 
bhel  nhai 
General steps in image processing 
1 
686 
Algorithms 
Qualcomm 
Swapping Numbers 
4 
629 
Algorithms 
Samsung 
Write a function to find optimal selection of packages from amazon warehouse. 
3 
1049 
Algorithms 
Amazon 
Which Sorting Algorithm is the fastest and why would you prefer it over others ? 
3 
1092 
Algorithms 
Amazon 
what is Face detection ? 
1 
560 
Algorithms 
Qualcomm 
what is Edge detection ? 
1 
513 
Algorithms 
Qualcomm 
Search and insert function in Binary search tree (BST) ? 
1 
521 
Algorithms  DataStructure 
Qualcomm 
Find the intersection of two linked list ? 
2 
744 
Algorithms  DataStructure 
Qualcomm  VMWare 
How to design a MR job to sort a very large dataset? 
1 
624 
Algorithms  DesignPattern 
OlaCabs 
How to design rubik’s cube and its operation? 
0 
681 
Algorithms 
OlaCabs 
How to reverse a sentence? 
3 
868 
Algorithms 
OlaCabs 
How to find union of all intervals? 
1 
598 
Algorithms 
OlaCabs 
How pivot element in quick sort affects the timing complexity? 
1 
643 
Algorithms 
Qualcomm 
Expected Number of Trials 
0 
96 
Algorithms 

How to implement Kadane algorithm with start and end indices? 
0 
579 
Algorithms  kadane 
OlaCabs 
Explain Binary search ? 
1 
497 
Algorithms 
Qualcomm 
Explain Depth First Search (DFS) ? 
1 
734 
Algorithms  DataStructure 
HCL  Qualcomm 
Explain BFS (Breadth First Search) ? 
1 
633 
Algorithms  DataStructure 
Qualcomm 
Find a triplet that sum to a given value 
12 
1466 
Algorithms  Array 
Samsung 
Sum of prime numbers 
6 
738 
Algorithms  Prime 
Samsung 
Power of 2 
2 
614 
Algorithms 
Samsung 
Dijkstra's Shortest path algorithm 
1 
942 
Algorithms  shortestpath 
Samsung 
Minimum Spanning Tree (MST) 
3 
1534 
Algorithms  GreedyAlgorithm 
Samsung 
Prim's Minimum Spanning Tree (MST) 
2 
830 
Algorithms  GreedyAlgorithm 
Samsung 
There is file of million number you have to find out largest k element. 
2 
942 
Algorithms  DataStructure 
Amazon 
Picks up a random song from the playlist and plays it. 
1 
902 
Algorithms 
Amazon 
Data structure used for dictionary. 
1 
1336 
Algorithms  DataStructure 
Amazon 
Array Sorting 
10 
1505 
Algorithms  Array  Sorting 
Samsung 
Time Complexity 
9 
713 
2D Array  Algorithms 
Samsung 
Asymptotic notations 
1 
839 
Algorithms 
Samsung 
Dijkstra's algorithm 
1 
659 
Algorithms 
Samsung 
Merge sort & Quick sort 
4 
927 
Algorithms  Sorting 
Oracle  Samsung 
Heap sort & Merge sort 
1 
849 
Algorithms 
Samsung 
Case Complexities 
4 
937 
Algorithms  Sorting 
Flipkart 
Algorithm for Compaction 
0 
982 
Algorithms  OperatingSystem 
Adobe  Cisco 
Print the last K lines from a file 
2 
1243 
Algorithms 
Adobe  Microsoft 
Topological Sorting 
3 
2042 
Algorithms  Graph  Sorting 
Samsung 
Cycle detection in Graph 
4 
1778 
Algorithms  bfs  DataStructure  dfs  graph 
Samsung 
BFS and DFS 
4 
1418 
Algorithms  bfs  DataStructure  dfs 
Oracle  Samsung 
Sort 1TB file 
3 
1210 
Algorithms  File Handling 
Samsung 
Sorting Techniques 
3 
793 
Algorithms 
Nvidia 