type
status
date
slug
summary
tags
category
icon
password
 

🖋️ Leaf-Similar Trees (Leetcode 872)

 
notion image
 
In short, we are gonna to compare the leaves between two tree.
First, we should get the elements from the leaves.
 
 

Recursion Method

 
JVM in shortTwo Ways to Reverse a Singly Linked List
Loading...