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

Comparison of Red Black Tree and AVL Tree 
1 
94 
Algorithms  DataStructure  Tree 
Amazon 
Time complexity of recursive statement 
0 
41 
Algorithms  DataStructure  Recursion 

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

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

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

Probability analysis and randomized algorithm 
1 
113 
Algorithms 

complexity of pow(a,b) 
0 
106 
Algorithms 

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

What is merge sorting? 
2 
488 
Algorithms 
Practo 
What is a backtracking algorithm? 
2 
428 
Algorithms 
Practo 
Stock market prediction 
1 
353 
Algorithms 
One97 
Find maximum sum 
2 
538 
Algorithms 
OlaCabs 
Find Min element from stack with O(1). 
2 
563 
Algorithms  DataStructure 
OlaCabs 
Write automation script for testing. 
0 
347 
Algorithms  programminglanguage 
OlaCabs 
Write pseudo code to show that two strings are anagrams of each other. 
1 
344 
Algorithms 
OlaCabs 
Explain the depth of recursion? 
2 
462 
Algorithms 
Intel 
Exactly simulate recursive algorithm into Iterative 
0 
16 
Algorithms  Recursion 

Define flow chart 
1 
339 
Algorithms 
CGI 
Define algorithm 
6 
368 
Algorithms 
CGI 
Sort an alphanumeric array into separate arrays. 
3 
315 
Algorithms 
CGI 
Write the code for selection sort. 
3 
311 
Algorithms 
CGI 
What is DSA? 
1 
359 
Algorithms 
CGI 
Nearest upper bound and nearest lower bound of complexity 
0 
17 
Algorithms 

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

Explain a jigsaw puzzle ? 
2 
325 
Algorithms 
Moonfrog Labs 
Design a solution to find the most visited product in last 2 hours 
0 
38 
Algorithms  DataStructure  DynamicProgramming  System Design 
Microsoft 
In Algorithmic context how would you define book keeping operations? 
1 
330 
Algorithms 
Expedia 
What is DiffieHellman? 
1 
359 
Algorithms 
Expedia 
What is red black tree? 
1 
383 
Algorithms 
Expedia 
What is Floyd’s Cycle Detection? 
1 
362 
Algorithms 
Expedia 
What is the importance of Big O? 
2 
354 
Algorithms 
Expedia 
Which algorithms come under brute force, greedy and Divide and conquer? 
1 
715 
Algorithms  DataStructure 
Hike 
What is the general strategy for Markov Algorithm? 
1 
384 
Algorithms 
TCS 
What are the arguments present in pattern matching algorithms? 
1 
352 
Algorithms 
TCS 
What is Euler’s totient function? 
2 
638 
Algorithms 
Cisco 
Design tab system 
5 
1105 
Algorithms  DataStructure  DesignPattern 
MorganStanley 
What data structure will you use to suggest friends in FB 
1 
1161 
Algorithms  DataStructure 
MorganStanley 
Data Structure for autosuggestion 
2 
901 
Algorithms  DataStructure 
MorganStanley 
Difference between DP and recursion 
3 
1073 
Algorithms 
MorganStanley 
Which sorting algorithm has best case complexity O(nlogn) and worst case as O(n^2)? 
6 
868 
Algorithms  Sorting 
Cisco 
Find Complexity of Algorithm? 
1 
436 
Algorithms 
Cisco 
Implementation of random number generator 
1 
501 
Algorithms 
MorganStanley 
Design Algorithm 
1 
441 
Algorithms 
MorganStanley 
How to store Ndimensional array in a database. 
1 
531 
Algorithms  DBMS 
MorganStanley 
Data Structure Design 
1 
458 
Algorithms  DataStructure 
MorganStanley 
Algorithm Related Question 
1 
468 
Algorithms 
MorganStanley 
Algorithm Question 
1 
462 
Algorithms 
MorganStanley 
Explain modified Bubble Sorting 
1 
675 
Algorithms 
MorganStanley 
Explain Job Scheduling ? 
1 
497 
Algorithms 
Visa 
Given an integer n, how many BST’s can you make with n no of nodes? 
5 
1386 
Algorithms 
Amazon 
Check whether a grammar is ambiguous or not 
2 
832 
Algorithms 
Amazon 
Algorithm Design 
1 
398 
Algorithms 
MakeMyTrip 
What is 8 Queen problem ? 
1 
759 
Algorithms  DataStructure  DesignPattern 
Oracle 
Formulate the angle between the hour hand and minute hand of the clock for any given time. 
2 
442 
Algorithms 
Directi 
Binary Tree with Three nodes a,b and c 
2 
520 
Algorithms 
Directi 
Algorithm design 
2 
442 
Algorithms 
Directi 
Design an algorithm 
1 
448 
Algorithms 
Directi 
Dynamic Programming 
2 
714 
Algorithms  DynamicProgramming 
Directi 
Algorithm Puzzle 
2 
535 
Algorithms 
Directi 
Write the implementation of String class. Implement any four methods of your choice. 
1 
773 
Algorithms 
Microsoft 
Explain TRIE ? 
1 
602 
Algorithms 
Flipkart 
Find complexity of the code. 
12 
819 
Algorithms 
Samsung 
Reverse the given string 1 
7 
970 
Algorithms  String 
Samsung 
Time complexity Tower of Hanoi problem. 
2 
959 
Algorithms 
Samsung 
C program to find direction of stack growth. 
1 
1057 
Algorithms  DataStructure 
Samsung 
What is time complexity 
4 
1335 
Algorithms 
Amazon 
Longest increasing subsequence 
1 
1009 
2D Array  Algorithms  DynamicProgramming 
Samsung 
Kandane’s Algorithm. 
2 
909 
Algorithms  DynamicProgramming 
Samsung 
Fibonacci with recursion and its time complexity derivation. 
1 
919 
Algorithms 
Qualcomm 
Integer kanpsack and fractional knapsack 
3 
756 
Algorithms  DynamicProgramming  GreedyAlgorithm 
bhel  nhai 
Knap Sack Poblem 
6 
1358 
Algorithms  DynamicProgramming  GreedyAlgorithm 
bhel  nhai 
General steps in image processing 
1 
639 
Algorithms 
Qualcomm 
Swapping Numbers 
4 
594 
Algorithms 
Samsung 
Write a function to find optimal selection of packages from amazon warehouse. 
3 
1002 
Algorithms 
Amazon 
Which Sorting Algorithm is the fastest and why would you prefer it over others ? 
3 
1033 
Algorithms 
Amazon 
what is Face detection ? 
1 
521 
Algorithms 
Qualcomm 
what is Edge detection ? 
1 
487 
Algorithms 
Qualcomm 
Search and insert function in Binary search tree (BST) ? 
1 
494 
Algorithms  DataStructure 
Qualcomm 
Find the intersection of two linked list ? 
2 
695 
Algorithms  DataStructure 
Qualcomm  VMWare 
How to design a MR job to sort a very large dataset? 
1 
591 
Algorithms  DesignPattern 
OlaCabs 
How to design rubik’s cube and its operation? 
0 
652 
Algorithms 
OlaCabs 
How to reverse a sentence? 
3 
814 
Algorithms 
OlaCabs 
How to find union of all intervals? 
1 
558 
Algorithms 
OlaCabs 
How pivot element in quick sort affects the timing complexity? 
1 
606 
Algorithms 
Qualcomm 
How to implement Kadane algorithm with start and end indices? 
0 
545 
Algorithms  kadane 
OlaCabs 
Explain Binary search ? 
1 
469 
Algorithms 
Qualcomm 
Explain Depth First Search (DFS) ? 
1 
692 
Algorithms  DataStructure 
HCL  Qualcomm 
Explain BFS (Breadth First Search) ? 
1 
583 
Algorithms  DataStructure 
Qualcomm 
Find a triplet that sum to a given value 
12 
1399 
Algorithms  Array 
Samsung 
Sum of prime numbers 
6 
687 
Algorithms  Prime 
Samsung 
Power of 2 
2 
583 
Algorithms 
Samsung 
Dijkstra's Shortest path algorithm 
1 
881 
Algorithms  shortestpath 
Samsung 
Minimum Spanning Tree (MST) 
3 
1473 
Algorithms  GreedyAlgorithm 
Samsung 
Prim's Minimum Spanning Tree (MST) 
2 
785 
Algorithms  GreedyAlgorithm 
Samsung 
There is file of million number you have to find out largest k element. 
2 
895 
Algorithms  DataStructure 
Amazon 
Picks up a random song from the playlist and plays it. 
1 
853 
Algorithms 
Amazon 
Data structure used for dictionary. 
1 
1271 
Algorithms  DataStructure 
Amazon 
Array Sorting 
10 
1445 
Algorithms  Array  Sorting 
Samsung 
Time Complexity 
9 
673 
2D Array  Algorithms 
Samsung 
Asymptotic notations 
1 
774 
Algorithms 
Samsung 
Dijkstra's algorithm 
1 
626 
Algorithms 
Samsung 
Merge sort & Quick sort 
4 
883 
Algorithms  Sorting 
Oracle  Samsung 
Heap sort & Merge sort 
1 
772 
Algorithms 
Samsung 
Case Complexities 
4 
883 
Algorithms  Sorting 
Flipkart 
Algorithm for Compaction 
0 
915 
Algorithms  OperatingSystem 
Adobe  Cisco 
Print the last K lines from a file 
2 
1178 
Algorithms 
Adobe  Microsoft 
Topological Sorting 
3 
1982 
Algorithms  Graph  Sorting 
Samsung 
Cycle detection in Graph 
4 
1695 
Algorithms  bfs  DataStructure  dfs  graph 
Samsung 
BFS and DFS 
4 
1321 
Algorithms  bfs  DataStructure  dfs 
Oracle  Samsung 
Sort 1TB file 
3 
1153 
Algorithms  File Handling 
Samsung 
Sorting Techniques 
3 
763 
Algorithms 
Nvidia 