Source: Alok Goyal (Stellaris VP, Ex-Helion VC) puzzle blog
Problem: A fast food restaurant sells dimsums in boxes of 7 and 3. What’s the greatest number of dimsums a person cannot buy. Generalize it for p and q where p and q are relatively prime.
I loved the Puzzle. Hope you enjoy it too.
This post first appeared on CSE Blog - Quant, Math, Computer Science Puzzles, please read the originial post: here