Coding Problems
Source: Problem prompts adapted from Ace the Data Science Interview — Chapter 9 Easy set (Huo & Singh). Starters, harness I/O, and solutions here are original for this course.
Six Python drills. Each problem ships ≥12 hidden tests (edges, negatives, ties, empty where valid). Implement the named function; the harness reads stdin and checks output. Runtime is Piston Python.
See Approach & Big-O if you want the interview playbook first.