Leetcode - Reverse Linked List II (Python)

preview_player
Показать описание
June 2021 Leetcode Challenge
Leetcode - Reverse Linked List II #92
Difficulty: Medium
Рекомендации по теме
Комментарии
Автор

thanks for the solution! could u plz help me with this, rather initializing 'dummy' variable if I directly initialize it as 'prev' and at last I return 'head' shouldn't it be the same? but this isnt being accepted (only 30/44 cases pass)

xCanDinaL
welcome to shbcf.ru