4 ms·More likely they aren't testing your knowledge of the algorithm but testing your ability to write code.by nwbrown 8y agoMore likely they aren't testing your knowledge of the algorithm but testing your ability to write code.