New
Dark mode is now available across the site
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
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
1.3k
/3.7k
Acceptance Rate
36.0%
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