rideOS Interview Question

I was asked to implement a bi-directional BFS for the online coding assessment.