← All problemsSign in

Prof Boolean

Professor Boolean is an evil villain who is up to no good. It is your job to help bring her down. The is a gang working under her. The chain of command of the gang is structured in such a way that each leader has 7 people working directly under him/her. Your task is to find the total number of people in Prof. Boolean's workforce given the number of level of hierarchy. For example, if there is o

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start