Implement several string, tree, and BFS problems
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This multi-part problem evaluates proficiency with core data structures and algorithms: binary tree traversal with column-aligned output, string parsing and arbitrary-precision decimal addition without built-in conversion, binary-search-based range extraction in sorted arrays, operator-precedence expression evaluation, and BFS-based shortest-path search including directed edges and key-door state constraints, plus analysis of time and space complexity. This type of question is commonly asked to assess algorithmic reasoning, careful handling of input formats and edge cases, efficient use of sorted properties and search strategies, and the ability to model additional state in graph searches; it belongs to the Coding & Algorithms domain and emphasizes practical application grounded in conceptual understanding of algorithms and complexity.