Daily LeetCode Challenge (Day 157): Reverse Odd Levels of Binary Tree

preview_player
Показать описание
Welcome to Day 157 of my Daily LeetCode Challenge until I reach 1 year's worth of green contributions on GitHub! Today, we're solving Problem 2415 - Reverse Odd Levels of Binary Tree.

📅 Join me daily for a new LeetCode problem!

TIMESTAMPS
00:00 Problem Solving
13:19 First Accepted Solution
44:07 Solution Explanation

Don't forget to like, comment, and subscribe if you like joining along to these types of videos!

#LeetCode #CodingChallenge #DailyCoding #Programming #GitHub #Python
Рекомендации по теме
Комментарии
Автор

one trick (pretty useless and saves a few characters) is the fact we only have to check one of the childs since it's a 'perfect' tree.

bogus
visit shbcf.ru