# [LeetCode 100] Same Tree [Java]

**2018-03-08

1. Description Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are ...

1. Description Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are ...

1. Description Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has eno...

1. Description Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent ...

1. Description Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplica...

1. Description Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. 2. Example If n = 4 and k = 2, a soluti...

1. Description Given a sorted linked list, delete all duplicates such that each element appear only once. 2. Example Given 1->1->2, return 1->2....

1. Description Given an absolute path for a file (Unix-style), simplify it. 2. Example path = "/home/", => "/home" path = "/a/./b/../../c/", =...

1. Description Given two binary strings, return their sum (also a binary string). 2. Example a = "11" b = "1" Return "100". 3.Code public c...

1. Description Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not ...

1. Description Validate if a given string is numeric. Note: It is intended for the problem statement to be ambiguous. You should gather all require...