DEV Community

Discussion on: Solution: Redundant Connection

Collapse
 
advaitkr profile image
advaitkr

why you have q[0] in while loop and why not queue.length