DIY: 24 Game

Solve the interview question "24 Game" in this lesson.

Problem statement

Suppose you are given an integer list, cards, of length 4. Each one of the four cards contains a number in the range [1, 9]. ...

Access this course and 1400+ top-rated courses and projects.