LeetCode 101. Symmetric Tree
Description https://leetcode.com/problems/symmetric-tree/description/ Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/symmetric-tree/description/ Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For…
Description https://leetcode.com/problems/same-tree/ Given the roots of two binary trees p and q, write a function to check if they are the same or…
Description https://leetcode.com/problems/3sum-closest/ Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the…
Description https://leetcode.com/problems/3sum/ Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j !=…
Description https://leetcode.com/problems/longest-common-prefix/description/ Write a function to find the longest common prefix string amongst an array of strings. If there is…
Description Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C…
Description Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked…
Description A linked list is given such that each node contains an additional random pointer which could point to any…
Description https://leetcode.com/problems/unique-paths-ii/ A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).…
Description A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can…