This week, Liz explores how to solve a classic LinkedList Interview Question.
The Challenge (Hard):
Given the head of a linked list, reverse the nodes of the list K at a time, and return the modified list.
Video Overview:
0:30 Problem overview
2:21 The approach
5:00 The reversal
12:56 Live code
31:07 Big O
Please subscribe to our channel :)
Additional Resources:
Practice hundreds of real coding challenges at coderbyte.com/
2 окт 2024