Coursera Interview Question

Magical Binary Numbers