Implement cd and merge intervals
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates proficiency in filesystem path normalization (string parsing, tokenization, and edge-case handling) and interval-merging algorithms (sorting, range consolidation, and handling overlaps), testing skills in string manipulation, data structures, and algorithmic reasoning.