You can use two leetcode problems to solve this: Reverse Linked List and Middle of the List.
An interview question commonly asked at Facebook.
Join the Coffee Bytez Patreon for exclusive content:
/ coffeebytez
Substack:
https://coffeebytez.substack.com/
Medium:
/ coffeebytez
Discord:
/ discord
#leetcode