Two Sigma logoTwo Sigma
Coding·60 minMembers

Palindrome Warmup + Two-Task Worker Scheduling

Members only

QR onsite coding round: start with palindrome checks, then generate the smallest palindrome greater than K, then reason verbally about assigning 2n workers across two tasks to minimize total time.

RS
DS
palindromes
greedy
scheduling
medium
Frequency
Single report
Last asked
2025-10-09
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...