Skip to content

Commit

Permalink
Added README.md file for Find Bottom Left Tree Value
Browse files Browse the repository at this point in the history
  • Loading branch information
ShatilKhan committed Feb 28, 2024
1 parent e2443c6 commit 7d0f5fb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions 513-find-bottom-left-tree-value/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h2><a href="https://leetcode.com/problems/find-bottom-left-tree-value">Find Bottom Left Tree Value</a></h2> <img src='https://img.shields.io/badge/Difficulty-Medium-orange' alt='Difficulty: Medium' /><hr><p>Given the <code>root</code> of a binary tree, return the leftmost value in the last row of the tree.</p>

<p>&nbsp;</p>
<p><strong class="example">Example 1:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2020/12/14/tree1.jpg" style="width: 302px; height: 182px;" />
<pre>
<strong>Input:</strong> root = [2,1,3]
<strong>Output:</strong> 1
</pre>

<p><strong class="example">Example 2:</strong></p>
<img alt="" src="https://assets.leetcode.com/uploads/2020/12/14/tree2.jpg" style="width: 432px; height: 421px;" />
<pre>
<strong>Input:</strong> root = [1,2,3,4,null,5,6,null,null,7]
<strong>Output:</strong> 7
</pre>

<p>&nbsp;</p>
<p><strong>Constraints:</strong></p>

<ul>
<li>The number of nodes in the tree is in the range <code>[1, 10<sup>4</sup>]</code>.</li>
<li><code>-2<sup>31</sup> &lt;= Node.val &lt;= 2<sup>31</sup> - 1</code></li>
</ul>

0 comments on commit 7d0f5fb

Please sign in to comment.