REAL Amateur Attempting LeetCode: 114. Flatten Binary Tree to Linked List | 🔴 Live LeetCode

3 months ago
5

LeetCode 114: Flatten Binary Tree to Linked List was a tough challenge for me. This medium-difficulty problem required converting a binary tree into a flattened linked list in-place, and despite my best efforts, I couldn’t arrive at a solution on my own.

In this video, I share my attempt and where I went wrong. It’s clear that I need to refine my approach to solving problems, focusing more on strategy and understanding the bigger picture rather than diving straight into coding.

Problem Highlights:

The task requires depth-first search (DFS) and recursive thinking.
A critical part of the solution involves understanding in-place transformations of tree structures.
➡️ Watch the video to see my thought process, where I struggled, and how I plan to adjust my approach in the future. Failure is part of learning, and I’m committed to improving with every problem.

Got tips for tackling this type of problem? Share them in the comments and help me (and others) grow!

Loading 1 comment...