STMicroelectronics interview question

Code to detect a cycle in the linked list ?

Interview Answer

Anonymous

1 July 2024

I told the brute force approach then I was asked to optimize it.