![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 94
大师所言极是
菜鸟一枚
展开
-
leetcode 784. Letter Case Permutation
leetcode 784. Letter Case Permutationleetcode 784. Letter Case Permutation题目描述解答思路代码题目描述Given a string S, we can transform every letter individually to be lowercase or uppercase to c...原创 2018-03-17 14:44:32 · 1087 阅读 · 0 评论 -
leetcode 791. Custom Sort String
leetcode 791. Custom Sort Stringleetcode 791. Custom Sort String题目描述解答思路代码题目描述S and T are strings composed of lowercase letters. In S, no letter occurs more than once.S was sorted...原创 2018-04-05 13:03:59 · 209 阅读 · 0 评论 -
leetcode 790. Domino and Tromino Tiling
leetcode 790. Domino and Tromino Tilingleetcode 790. Domino and Tromino Tiling题目描述解答思路代码题目描述We have two types of tiles: a 2x1 domino shape, and an “L” tromino shape. These shapes ma...原创 2018-04-04 16:50:23 · 862 阅读 · 1 评论 -
leetcode 795. Number of Subarrays with Bounded Maximum
leetcode 795. Number of Subarrays with Bounded Maximumleetcode 795. Number of Subarrays with Bounded Maximum题目描述解答思路代码题目描述We are given an array A of positive integers, and two posit...原创 2018-04-11 16:10:14 · 298 阅读 · 0 评论 -
leetcode 810. Chalkboard XOR Game
leetcode 810. Chalkboard XOR Gameleetcode 810. Chalkboard XOR Game题目描述解答思路代码题目描述We are given non-negative integers nums[i] which are written on a chalkboard. Alice and Bob take turn...原创 2018-04-02 16:59:25 · 533 阅读 · 0 评论 -
leetcode 794. Valid Tic-Tac-Toe State
leetcode 794. Valid Tic-Tac-Toe Stateleetcode 794. Valid Tic-Tac-Toe State题目描述解答思路代码题目描述A Tic-Tac-Toe board is given as a string array board. Return True if and only if it is possibl...原创 2018-04-08 10:57:24 · 544 阅读 · 0 评论 -
leetcode 789. Escape The Ghosts
leetcode 789. Escape The Ghostsleetcode 789. Escape The Ghosts题目描述解答思路代码题目描述You are playing a simplified Pacman game. You start at the point (0, 0), and your destination is (target[...原创 2018-03-21 00:18:44 · 395 阅读 · 0 评论 -
leetcode 793. Preimage Size of Factorial Zeroes Function
leetcode 793. Preimage Size of Factorial Zeroes Functionleetcode 793. Preimage Size of Factorial Zeroes Function题目描述解答思路代码题目描述Let f(x) be the number of zeroes at the end of x!. (Rec...原创 2018-04-07 16:34:21 · 248 阅读 · 0 评论 -
leetcode 788. Rotated Digits
leetcode 788. Rotated Digitsleetcode 788. Rotated Digits题目描述解答思路代码题目描述X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is diff...原创 2018-03-18 23:14:12 · 828 阅读 · 0 评论 -
leetcode 787. Cheapest Flights Within K Stops
leetcode 787. Cheapest Flights Within K Stopsleetcode 787. Cheapest Flights Within K Stops题目描述解答思路代码题目描述There are n cities connected by m flights. Each fight starts from city u and ...原创 2018-03-18 16:24:47 · 1497 阅读 · 0 评论 -
leetcode 786. K-th Smallest Prime Fraction
leetcode 786. K-th Smallest Prime Fractionleetcode 786. K-th Smallest Prime Fraction题目描述解答思路代码题目描述A sorted list A contains 1, plus some number of primes. Then, for every p < q i...原创 2018-03-17 22:23:10 · 767 阅读 · 0 评论 -
leetcode 785. Is Graph Bipartite?
leetcode 785. Is Graph Bipartite?leetcode 785. Is Graph Bipartite?题目描述解答思路代码题目描述Given an undirected graph, return true if and only if it is bipartite.Recall that a graph is biparti...原创 2018-03-17 17:26:18 · 759 阅读 · 0 评论 -
leetcode 792. Number of Matching Subsequences
leetcode 792. Number of Matching Subsequencesleetcode 792. Number of Matching Subsequences题目描述解答思路代码题目描述Given string S and a dictionary of words words, find the number of words[i] t...原创 2018-04-06 15:18:49 · 1198 阅读 · 0 评论