← OLA questions

Game of Nim

Filed under OLA · Also reported at Cloudera

The question

Write pseudocode for the Game of Nim, discuss the recurrence relation, memoization, and why it works.

No write-up yet. Related questions below have one.

Related OLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.