Anchorage·Software Engineer·Technical Phone Screen
May 2026
Interviewed for a Software Engineer role at Anchorage and got a coding question about implementing a print method for a toy in-memory file system. Pretty self-contained problem but there were a few edge cases worth thinking through carefully.
- You're given a simple in-memory file system represented as an ordered list of disk blocks, where each block holds zero or more file records. Implement a method that prints the current state of the file system: blocks in order, each wrapped in square brackets, contents comma-separated, and blocks joined by ' -> ' with no trailing arrow.
“The core logic isn't hard but I spent a minute overthinking the joining part.”