Topic: Bit Manipulation Problem / Level: beginner

Problem: Implement a function that generates the binary representation of numbers from 1 to n.

Run the code to see the output here...