LeetCode 70. Climbing Stairs
Description https://leetcode.com/problems/climbing-stairs/ You are climbing a stair case. It takes n steps to reach to the top. Each time you can either…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/climbing-stairs/ You are climbing a stair case. It takes n steps to reach to the top. Each time you can either…
Description Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return…
Description https://leetcode.com/problems/largest-rectangle-in-histogram/description/ Given n non-negative integers representing the histogram’s bar height where the width of each bar is 1, find the area…
Description https://leetcode.com/problems/word-break/description/ Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or…
Description https://leetcode.com/problems/trapping-rain-water/description/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water…
Description Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) — Push…
Description https://leetcode.com/problems/valid-parentheses/ Given a string s containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. An input string is valid…
Description https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of…