Ramp Coding Interview Questions
26 Ramp coding interview problems with full optimal solutions — 12 easy, 11 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Ramp interviewer values, and a FAQ section.
Showing 11 problems of 26
- #13mediumfoundational
13. Add Two Numbers
Add two numbers whose digits are stored in reverse-order linked lists.
- #14mediumfoundational
14. Longest Substring Without Repeating Characters
Find the length of the longest substring with all unique characters.
- #15mediumfoundational
15. Container With Most Water
Find two heights that hold the largest area of water.
- #16mediumfoundational
16. 3Sum
Find all unique triplets in the array that sum to zero.
- #17mediumfoundational
17. Generate Parentheses
Generate all combinations of well-formed parentheses for n pairs.
- #18mediumfoundational
18. Permutations
Return all possible orderings of distinct integers.
- #19mediumfoundational
19. Group Anagrams
Bucket strings that are anagrams of each other together.
- #20mediumfoundational
20. Merge Intervals
Collapse a list of intervals into the minimum set of non-overlapping intervals.
- #21mediumfoundational
21. Unique Paths
Count distinct paths in an m x n grid moving only right or down.
- #22mediumfoundational
22. Word Search
Determine if a word exists in a grid following adjacent cell moves.
- #23mediumfoundational
23. LRU Cache
Design a data structure with O(1) get and put plus least-recently-used eviction.