How would you implement Amazon's "users who bought this item also bought ..." feature?
Software Development Engineer Intern Interview Questions
2,285 software development engineer intern interview questions shared by candidates
Not hard at all.
Remove duplicates from a linked list. O(n) time.
Write a function to remove all redundant characters in a given string.
Write an algorithm that does an in-order traversal of a tree recursively. Now, write the same algorithm iteratively.
Given a 2D array, find the sum of all the elements in the array. O(n^2) solution is too slow, find ways to optimize (ended up adding a second parameter 2D array).
About the details, and interviewer will communicate with you when you are typing.
To find least common ancestor in a binary search tree
Design and implement an algorithm to determine if a binary tree is symmetric.
Find the maximum subset sum in an array of numbers. Discuss complexity.
Viewing 51 - 60 interview questions