InterviewDB
Question
Working Hours Register Program - Level 3: Weekly Aggregation and Overtime Calculation
Question Details
Round 1 - Coding Problem Building on your Level 2 register, add weekly reporting and overtime logic: get_weekly_report(emp_id, week_start) — return a dict mapping each day of the week to total hours worked (0.0 if no sessions). get_overtime_hours(emp_id, week_start, regular_limit=40) — return hours worked beyond regular_limit in that week, after merging overlapping sessions per day. get_top_n_employees(week_start, n) — return the top N employees by total hours that week. Follow-ups Some employee…
Full Details
🔒
Unlock all Codesignal questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a reported interview question from a codesignal interview.
It covers the following topics: Coding, Industry Coding Framework .
Topics
More Codesignal Interview Questions
InterviewDB
AI-Assisted Code Review Assessment - Coding Interview
InterviewDB
Array Mutation Operations - Coding Interview
InterviewDB
Array Triplets with Pythagorean Property - Coding Interview
InterviewDB
Banking System Simulation - Industry Coding Framework Interview
InterviewDB
Bubble Popping Game Simulation - Coding Interview