Meta·Software Engineer·Technical Phone Screen
Jul 2026
Meta SWE coding round, one problem, pretty focused on the logic of filtering and arranging digits. Nothing fancy in terms of setup, just a straightforward algorithmic question that looks easy until you start thinking about edge cases.
- Write a function that returns the smallest non-negative number that can be formed using only the odd digits from a given number. For example, given 12345, use only the digits 1, 3, and 5.
“My first instinct was to sort the odd digits in ascending order and concatenate them, which works, but I spent too long second-guessing whether leading zeros could appear or whether the result should be zero if there are no odd digits at all.” The rest of the author's notes on Software Engineer interview at Meta, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post