Hey y’all, hope everything is going well. I know Meta’s been changing their hiring process, all of which put us at bigger disadvantages, but nevertheless, we march on!
Today, I have a solution for another frequently asked question, Leetcode 163 Missing Ranges as well as its variant. I’ve almost never seen Meta ask the OG problem. Instead, the variant pretty much replaces it, where you still have to capture missing ranges but when you push them to a resulting list, they have to abide by a bunch of formatting rules.
The formatting rules are:
Reference to the OG LC problem: https://leetcode.com/problems/missing-ranges/description/
Good luck on your phone screens & onsite loops.