Professional Documents
Culture Documents
More Common Amazon Coding Interview Questions: Dynamic Programming
More Common Amazon Coding Interview Questions: Dynamic Programming
questions
16. K largest elements from an 28. Rotate a given list to the right
array by k places, which is non-
17. Convert a Binary tree to DLL negative.
18. Given a binary tree T , find the 29. Write a function that counts the
maximum path sum. The path total of set bits in a 32-bit
may start and end at any node integer.
in the tree. 30. How do you detect a loop in a
19. Rotate a matrix by 90 degrees singly linked list?