DSC-Banasthali-Vidyapith / Code-Crossroad

This project contains the carefully compiled Data Structures & Algorithm questions asked by the companies that visit Banasthali Vidyapith on-campus.
MIT License
55 stars 78 forks source link

Finding the middle element of a linked list #35

Closed sakshigoel19 closed 3 years ago

sakshigoel19 commented 3 years ago

I would like to work on this issue in C++ using fast and slow pointer technique in O(N) time complexity and O(1) space complexity.