Samsung Electronics Interview Question

ring buffer implementation live demonstration