原创 126. Word Ladder II(Leetcode每日一題-2020.06.07)

Problem Given two words (beginWord and endWord), and a dictionary’s word list, find all shortest transformation seq

原创 67. Add Binary(Leetcode每日一題-2020.06.23)

Problem Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and

原创 41. First Missing Positive(Leetcode每日一題-2020.06.27)

Problem Given an unsorted integer array, find the smallest missing positive integer. Note: Your algorithm should ru

原创 238. Product of Array Except Self(Leetcode每日一題-2020.06.04)

Problem Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the

原创 面試題46. 把數字翻譯成字符串(Leetcode每日一題-2020.06.09)

Problem 給定一個數字,我們按照如下規則把它翻譯爲字符串:0 翻譯成 “a” ,1 翻譯成 “b”,……,11 翻譯成 “l”,……,25 翻譯成 “z”。一個數字可能有多個翻譯。請編程實現一個函數,用來計算一個數字有多少種

原创 面試題 02.01. Remove Duplicate Node LCCI(Leetcode每日一題-2020.06.26)

Problem Write code to remove duplicates from an unsorted linked list. Note: The length of the list is within the r

原创 215. Kth Largest Element in an Array(Leetcode每日一題-2020.06.29)

Problem Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted or

原创 1300. Sum of Mutated Array Closest to Target(Leetcode每日一題-2020.06.14)

Problem Given an integer array arr and a target value target, return the integer value such that when we change all

原创 837. New 21 Game(Leetcode每日一題-2020.06.03)

Problem Alice plays the following game, loosely based on the card game “21”. Alice starts with 0 points, and draws

原创 10. Regular Expression Matching(Leetcode每日一題-2020.06.20)

Problem Given an input string (s) and a pattern §, implement regular expression matching with support for ‘.’ and ‘

原创 70. Climbing Stairs(Leetcode每日一題-2020.06.13)

Problem You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2

原创 15. 3Sum(Leetcode每日一題-2020.06.12)

Problem Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all uni

原创 297. Serialize and Deserialize Binary Tree(Leetcode每日一題-2020.06.16)

Problem Serialization is the process of converting a data structure or object into a sequence of bits so that it ca

原创 125. Valid Palindrome(Leetcode每日一題-2020.06.19)

Problem Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring case

原创 739. Daily Temperatures(Leetcode每日一題-2020.06.11)

Problem Given a list of daily temperatures T, return a list such that, for each day in the input, tells you how man