Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 679. 24 Game
Given four numbers 1–9, determine whether you can permute them and insert binary operators (+, −, *, /) and parentheses to form an expression that evaluates to 24 (division is real; no concatenation or unary minus). This is a combinatorial search/backtracking problem over permutations and binary operation orders, requiring careful handling of floating-point comparisons.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.