Skip to content

Commit c65f404

Browse files
[N-0] minor refactor
1 parent b44e779 commit c65f404

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

‎src/main/java/com/fishercoder/solutions/_100.java

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* 100. Same Tree
7+
*
78
* Given two binary trees, write a function to check if they are equal or not.
89
* Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
910
*/

‎src/main/java/com/fishercoder/solutions/_235.java

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* 235. Lowest Common Ancestor of a Binary Search Tree
7+
*
78
* Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.
89
* According to the definition of LCA on Wikipedia:
910
* “The lowest common ancestor is defined between two nodes v and w as the lowest node in T that has both v and w as descendants

‎src/main/java/com/fishercoder/solutions/_236.java

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* 236. Lowest Common Ancestor of a Binary Tree
7+
*
78
* Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
89
* According to the definition of LCA on Wikipedia:
910
* “The lowest common ancestor is defined between two nodes v and w as the lowest node in T

0 commit comments

Comments
 (0)