Give you an array of integers without duplication. Let you write a piece of code to return the pairs that their sum is 100.
Software Development Interview Questions
36,997 software development interview questions shared by candidates
Given an array of integers and k, print all the pairs of numbers (a,b), both of them inside the array, such that a+b=k
Most efficient algorithm for sorting infinitely long array
Questions related to stacks, queues (Eg:Implement a queue using stacks) Trees were heavily asked as well (Print a tree spirally, check if one BT is a mirror of another BT)
Sorting a list of some random type
The input to a function is an array of n elements.Output of that function is also an array where each element is product of all elements in the input array except the one with same index. Input ::::: 1 2 3 4 Output ::::: 2*3*4 1*3*4 1*2*4 1*2*3
Hasp map concepts theory questions coding question : Program to check if binary tree is a BST Complexity of the module written
Describe red-black trees. Explain how to implement insert and delete functions on red-black trees.
Having to pick up n items from a warehouse find an algorithm to minimize the cost having a cost function to go from one item to another.
What algorithm would you use to search a sorted list? What is the complexity of the algorithm? Implement the algorithm in your language of choice.
Viewing 781 - 790 interview questions