SAGA Education Interview Question

Write a program that displays a rotating bit value in an infinite loop

Interview Answer

Anonymous

Aug 18, 2022

I took the value to be displayed and used a bitwise xor comparator with a counter.