Logo

Coding preview

Worth reserving?

What this preview is

About this preview

Worth reserving? is a easy quant coding problem on language knowledge in Python.

Unlock full access to getcracked

Join to unlock this problem, detailed solutions, and our complete library of quant finance interview prep.

What this Python coding problem tests

This is an easy coding problem that combines straightforward arithmetic with real-world decision logic. It's the kind of screening question used to filter for candidates who can read a specification carefully, translate business constraints into code, and handle edge cases without overthinking.

The core task is simple: sum up available job demand, compare it against a threshold, and return a boolean. The real test is whether you parse the problem statement correctly (identifying the 80% breakeven point), handle the inclusive boundary condition, and don't miss edge cases like an empty job list. No complex data structures or algorithms are needed; clean, readable code matters more than cleverness.

  • Reading and translating problem specifications
  • Threshold and boundary logic
  • Handling empty or degenerate inputs