Solve Five Core Python Data-Processing Exercises
CitadelSite Reliability Engineer · Technical ScreenLast updated
Implement and explain: repeat a message `n` times with blank lines; square a list then reverse it; FizzBuzz; count case-sensitive words; and return the second-largest unique integer or `None`. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.
Solve Five Core Python Data-Processing Exercises
Implement and explain: repeat a message n times with blank lines; square a list then reverse it; FizzBuzz; count case-sensitive words; and return the second-largest unique integer or None.
Constraints & Assumptions
- Inputs fit memory and words are whitespace-delimited.
- Functions return values except the explicitly printed exercises.
Clarifying Questions to Ask
- What should negative
ndo? - Must input lists remain unchanged?
Follow-up questions
- How would each be tested?
- Which operations can stream?
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.