New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Google
Coding Question
AI Insights
Quick Summary
Parse log entries to extract license plates, checkpoint positions, and timestamps.
Organize records by vehicle and sort them chronologically to reconstruct travel paths.
Calculate cumulative toll fees by summing absolute position differences multiplied by a constant rate.
What This Tests
String manipulation and data extraction
Hash-based grouping operations
Chronological event sequencing
Sequential accumulation and arithmetic logic
Common Patterns
Hashing
Sorting
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Accepted
973
/2.2k
Acceptance Rate
44.6%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
logEntries =
Output
Expected