Microsoft Interview Question

3 colored balls in array . classic

Interview Answer

Anonymous

Jul 10, 2021

pointers for array start & end , and pointer in between them , swap balls and move pointers