Tag: 算法
237 total results found
Leetcode PHP题解--D61 953. Verifying an Alien Dictionary
D61 953. Verifying an Alien Dictionary 题目链接 953. Verifying an Alie...
Leetcode基础刷题之PHP解析(3. Longest Substring Without Repeating Characters )
2019-5-14 星期二 开始吧 如果当前没有针对性的话,那就从头把之前补上。 上一题链接Leetcode基础刷题之PHP解...
Leetcode PHP题解--D60 824. Goat Latin
D60 824. Goat Latin 题目链接 824. Goat Latin 题目分析 给定一个句子,由大小写英文字母组成,以空...
Leetcode基础刷题之PHP解析(2. Add Two Numbers)
2019-5-13 星期一 开始吧 上一题链接算法之二分查找 题目描述 给定两个非空的链表,它们的位数是按照逆序存储的,...
Leetcode PHP题解--D59 226. Invert Binary Tree
D59 226. Invert Binary Tree 题目链接 226. Invert Binary Tree 题目分析 反转二叉...
Leetcode PHP题解--D58 693. Binary Number with Alternating Bits
D58 693. Binary Number with Alternating Bits 题目链接 693. Binary Numb...
Leetcode PHP题解--D57 762. Prime Number of Set Bits in Binary Representation
D57 762. Prime Number of Set Bits in Binary Representation 题目链接 76...
Leetcode PHP题解--D56 637. Average of Levels in Binary Tree
D56 637. Average of Levels in Binary Tree 题目链接 637. Average of Lev...
Leetcode PHP题解--D55 429. N-ary Tree Level Order Traversal
D55 429. N-ary Tree Level Order Traversal 题目链接 429. N-ary Tree Lev...
Leetcode PHP题解--D54 937. Reorder Log Files
D54 937. Reorder Log Files 题目链接 937. Reorder Log Files 题目分析 给定一个数组...
Leetcode PHP题解--D53 566. Reshape the Matrix
D53 566. Reshape the Matrix 题目链接 566. Reshape the Matrix 题目分析 给定一个...
Leetcode PHP题解--D52 496. Next Greater Element I
D52 496. Next Greater Element I 题目链接 496. Next Greater Element I 题...
Leetcode PHP题解--D51 136. Single Number
D51 136. Single Number 题目链接 136. Single Number 题目分析 返回给定数组中,只出现了一次...
Leetcode PHP题解--D50 933. Number of Recent Calls
D50 933. Number of Recent Calls 题目链接 933. Number of Recent Calls 题...
Leetcode PHP题解--D49 821. Shortest Distance to a Character
D49 821. Shortest Distance to a Character 题目链接 821. Shortest Dista...