
LeetCode
mistical
这个作者很懒,什么都没留下…
展开
-
【LeetCode】二叉树剪枝搜索(Binary Tree Pruning)
原题网址(中):https://leetcode-cn.com/problems/binary-tree-pruning/原题网址(英):https://leetcode.com/problems/binary-tree-pruning/题目:We are given the head node root of a binary tree, where additionally every...原创 2018-12-07 18:53:33 · 696 阅读 · 0 评论 -
【LeetCode】两数之和(Two Sum)
原题网址(中):https://leetcode-cn.com/problems/two-sum/原题网址(英):https://leetcode.com/problems/two-sum/题目:Given an array of integers, return indices of the two numbers such that they add up to a specific ...原创 2018-12-05 18:39:02 · 210 阅读 · 0 评论 -
【LeetCode】两数相加(Add Two Numbers)
原题网址(中):https://leetcode-cn.com/problems/add-two-numbers/原题网址(英):https://leetcode.com/problems/add-two-numbers/题目:You are given two non-empty linked lists representing two non-negative integers. T...原创 2018-12-05 19:41:13 · 302 阅读 · 0 评论 -
【LeetCode】Z字形变换(Zigzag Conversion)
原题网址(中):https://leetcode-cn.com/problems/zigzag-conversion/原题网址(英):https://leetcode.com/problems/zigzag-conversion/题目:The string “PAYPALISHIRING” is written in a zigzag pattern on a given number o...原创 2018-12-05 23:02:10 · 180 阅读 · 0 评论 -
【LeetCode】回文数(Palindrome Number)
原题网址(中):https://leetcode-cn.com/problems/palindrome-number/原题网址(英):https://leetcode.com/problems/palindrome-number/题目:Determine whether an integer is a palindrome. An integer is a palindrome when ...原创 2018-12-06 11:04:05 · 207 阅读 · 0 评论 -
【LeetCode】最长公共前缀(Longest Common Prefix)
原题网址(中):https://leetcode-cn.com/problems/longest-common-prefix/原题网址(英):https://leetcode.com/problems/longest-common-prefix/题目:Write a function to find the longest common prefix string amongst an a...原创 2018-12-06 12:06:10 · 1191 阅读 · 0 评论 -
【LeetCode】三数之和(3Sum)
原题网址(中):https://leetcode-cn.com/problems/3sum/submissions/原题网址(英):https://leetcode.com/problems/3sum/submissions/题目:Given an array nums of n integers, are there elements a, b, c in nums such that ...原创 2018-12-06 17:30:34 · 471 阅读 · 0 评论 -
【LeetCode】单词搜索(Word Search)
原题网址(中):https://leetcode-cn.com/problems/word-search/原题网址(英):https://leetcode.com/problems/word-search/题目:Given a 2D board and a word, find if the word exists in the grid.The word can be construc...原创 2018-12-07 11:06:49 · 691 阅读 · 0 评论