Mercury Coding Interview Questions
25 Mercury coding interview problems with full optimal solutions — 11 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 Mercury interviewer values, and a FAQ section.
Showing 3 problems of 25
- #27hardfoundational
27. Median of Two Sorted Arrays
Find the median of two sorted arrays in logarithmic time.
- #28hardfoundational
28. Trapping Rain Water
Given an elevation map, compute how much rain water is trapped between the bars.
- #29hardfoundational
29. Merge k Sorted Lists
Merge k sorted linked lists into a single sorted list efficiently.