wanderlog | Software Engineer Intern | Interview Experience
Interview Date: Not specified
Result: Fail
Difficulty: Hard
Interview Process
The interview consisted of an online coding assessment.
Technical Questions
-
Transaction Record Statistics
- Topic: Hash Table, Sorting
- Assessment Focus: Frequency counting using HashMap, custom sorting (descending order by frequency, ascending order by name).
- Approach: Use a HashMap to record occurrences and sort the output according to specified rules. Key pitfalls include the direction of the sorting comparator and the output format.
-
Log Time Matching
- Topic: String Parsing, Hash Mapping
- Assessment Focus: String parsing, hash mapping, and time difference evaluation.
- Approach: Each log entry is formatted as “id time action.” The goal is to track sign-in and sign-out times, filtering users based on time differences. Attention is required for output sorting, time difference boundaries, and input reading order.
Tips & Insights
- Pay close attention to sorting requirements and output formats to avoid common pitfalls.