How would you implement Amazon's "users who bought this item also bought ..." feature?
Software Engineer Intern Interview Questions
9,436 software engineer intern interview questions shared by candidates
2nd largest number in an array
Given two linked lists, find out IF they intersect.
Implement a selection sort, and then he asked me: Given a single-elimination tournament with 99 players, how many games must be played until there is one winner left.
There are ten buckets of lead weights, with nine of them having equal weights of 10 grams each, while one of them has weights of 11 grams each. You want to find out which bucket has weights of 11 grams each, by using a scale, but you can only turn on the scale once.
Reverse the word order in a string.
Given a set of cities, each with a given population, select randomly a city with a probability that is proportional to the population.
This was one of the more standard questions. You have stairs with N number of steps. You can take either one step steps or two step steps; how many ways can you climb the stairs?
counting sort, binary tree preorder traversal, binary tree inorder traversal, keys and boxes (leetcode 1298)
Technical Given an unsorted array of numbers (that may contain repeated numbers), print or produce a data structure that contains all the pairs that have a sum equal to a number k. Do not include pairs that are the same numbers in a different order. Ex. [3,2,6,2,0,5,3,8,7,10] [(0,10),(2,8),(3,7)]
Viewing 131 - 140 interview questions