2095. Delete the Middle Node of a Linked List (Leetcode Medium)

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

Hmm, I did this differently. I just looped through the linkedlist counting the number of nodes then looped again half way -1 and reset the next link.

Q_Ultimas
visit shbcf.ru