本文不再更新,如果需要查看解题,直接进入https://github.com/Arnold134777/LeetCode-LintCode/tree/master/javascript 查看。 一方面熟悉javascri…
分类:LeetCode
Leetcode109——Convert Sorted List to Binary Search Tree
文章作者:Tyan 博客:noahsnail.com | CSDN | 简书 1. 问题描述 Given a singly linked list where elemen…
sum-root-to-leaf-numbers
描述: Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An exa…
LeetCode | 7. Reverse Integer
题目链接:https://leetcode.com/problems/reverse-integer/ 题目难度:Easy 题目描述: Given a 32-bit signed integer, reverse dig…
374. Guess Number Higher or Lower
**Description**Hints**Submissions**Solutions Total Accepted: 46483 Total Submissions: 133710 Difficulty: Easy …
[LeetCode] Array Partition I 数组分割之一
Given an array of 2n integers, your task is to group these integers into n pairs of…
[LeetCode] Largest Number At Least Twice of Others 至少是其他数字两倍的最大数
In a given integer array nums, there is always exactly one largest element. Find whether the large…
【leetcode】38. Count and Say 数字转换
1. 题目 The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, …
289. Game of Life
289. Game of Life 题目: https://leetcode.com/problems/game-of-life/ 难度 : Medium 直接一上来就没有考虑solve it in-place,考虑的是…
Product of Array Except Self
题目 Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to t…
693. Binary Number with Alternating Bits
原题地址:https://leetcode.com/problems/binary-number-with-alternating-bits/description/ 大意:判断一个数的二进制数是不是0和1相间的。 思路…
[LeetCode] Longest Increasing Path in a Matrix 矩阵中的最长递增路径
Given an integer matrix, find the length of the longest increasing path. From each cell, you can either…