plaicer

This is a sample dashboard. The scores, problems and coaching below are illustrative only, not a real candidate's results.

Start your baseline to activate your dashboard

Sample round 1 of 3 · Three weeks ago

Baseline — ran out of time on the hard problem

See all three rounds and the progress dashboard
Back to the sample dashboard

4-problem sprint

python · 70 of 70 min used · time expired
48
Correctness
55

You cleared the easy problem completely and most of the first medium. The sliding-window problem passed only 3 of 8 hidden tests because the nested loop times out on larger inputs, and the hard problem was never submitted.

Time management
40

You spent 31 of your 70 minutes on the sliding-window problem, which is more than the two easier problems combined. That left 9 minutes for the hard problem, which was never going to be enough to finish it.

Edge-case discipline
35

Empty inputs were not handled in three of the four problems. The range-merging solution also crashes on an empty list because it indexes spans[0] before checking the list has anything in it.

Code quality
52

Readable and conventionally named throughout. The window solution leaves an unused accumulator and the task-ordering attempt leaves a half-built graph with a hardcoded empty return, which reads as abandoned rather than incomplete.

How you spent your time

You opened the problems in order and never came back to reconsider. The 31 minutes on problem 3 is where this round was lost: you had a working brute-force answer after 9 minutes and spent the next 22 trying to make it faster without changing the approach. Banking that partial score and moving to problem 4 would have scored higher than either problem ended up scoring.

Coaching on each problem
Q1 · First non-repeating item easy
6/6 hidden tests passed · 6 min spent · 3 runs

All 6 hidden tests passed. Two-pass counting is the right approach here and your first-seen ordering is correct.

You could return early from the counting pass in the single-element case, but at this size it makes no practical difference.

Q2 · Merge overlapping ranges medium
6/9 hidden tests passed · 14 min spent · 7 runs

Sorting by start and extending the last range is the correct shape, and 6 of 9 hidden tests passed.

Failed on an empty input list and on ranges that touch exactly at a boundary, such as [1,3] and [3,5].

Guard the empty case before indexing spans[0], and decide explicitly whether touching ranges should merge. State the assumption in a comment when the brief is silent on it.

Q3 · Longest window under a limit medium
3/8 hidden tests passed · 31 min spent · 11 runs

The logic is correct and the visible examples pass.

3 of 8 hidden tests timed out. The nested loop is O(n squared), and the larger hidden inputs are sized specifically to reject that.

This is a two-pointer problem. Grow the window while the sum fits and shrink from the left when it does not, which gets you to a single pass. Recognising that shape early would have saved you roughly 20 minutes.

Q4 · Task ordering with dependencies hard
0/10 hidden tests passed · 9 min spent · 1 runs · not submitted

Nothing was submitted, so there is nothing to score here.

Never submitted.

You had the adjacency map started and the direction of the edges right. With 20 minutes instead of 9 this was reachable. The fix is upstream: leave yourself the time.