• 首页
  • C++
  • Opencv
  • Python
  • Wordpress
  • ml
  • leetcode
  • math
  • Alg
  • 关于
  • 首页
  • C++
  • Opencv
  • Python
  • Wordpress
  • ml
  • leetcode
  • math
  • Alg
  • 关于
  1. 首页
  2. 标签
  3. leetcode
136.OJ-获取列表中仅出现一次的数字

leetcode 136.OJ-获取列表中仅出现一次的数字

给定一个非空的整数数组,除了一个元素外,每个元素都会出现两次。 找一个单一的。 Note: 您的算法应具有线性 […]

813次阅读 0个评论
leetcode 2019-04-14
123. 最佳时间买卖股票(仅限N次)

leetcode 123. 最佳时间买卖股票(仅限N次)

假设您有一个数组,其中第i个元素是第i天给定股票的价格。 设计算法以找到最大利润。 您最多可以完成两笔交易。 […]

1,176次阅读 0个评论
leetcode 2019-04-07
121. Best Time to Buy and Sell Stock(最佳时间买卖)

leetcode 121. Best Time to Buy and Sell Stock(最佳时间买卖)

假设您有一个数组,其中的ith元素是第i天给定股票的价格。 如果你只被允许完成至多一笔交易(即买一份,卖一份股 […]

905次阅读 0个评论
leetcode 2019-04-05
118. Pascal’s Triangle(帕斯卡三角形)

leetcode 118. Pascal’s Triangle(帕斯卡三角形)

Given a non-negative integer numRows, generate the firs […]

813次阅读 0个评论
leetcode 2019-04-04
112. Path Sum(路径求和)

leetcode 112. Path Sum(路径求和)

给定一个二叉树和一个和,确定该树是否有一个根到叶的路径,以便将路径上的所有值相加等于给定的和。 注意:叶是没有 […]

955次阅读 0个评论
leetcode 2019-03-30
111. Minimum Depth of Binary Tree(二叉树最小深度)

leetcode 111. Minimum Depth of Binary Tree(二叉树最小深度)

Given a binary tree, find its minimum depth. The minimu […]

845次阅读 0个评论
leetcode 2019-03-29
110. Balanced Binary Tree(平衡树判断)

leetcode 110. Balanced Binary Tree(平衡树判断)

Given a binary tree, determine if it is height-balanced […]

756次阅读 0个评论
leetcode 2019-03-27
Convert Sorted Array to Binary Search Tree(有序列表转化为BST)

leetcode Convert Sorted Array to Binary Search Tree(有序列表转化为BST)

Given an array where elements are sorted in ascending o […]

814次阅读 0个评论
leetcode 2019-03-26
107. Binary Tree Level Order Traversal II(二叉树分层排序)

leetcode 107. Binary Tree Level Order Traversal II(二叉树分层排序)

Given a binary tree, return the bottom-up level order t […]

764次阅读 0个评论
leetcode 2019-03-25
104. Maximum Depth of Binary Tree(二叉树深度-DFS方法)

leetcode 104. Maximum Depth of Binary Tree(二叉树深度-DFS方法)

Given a binary tree, find its maximum depth. The maximu […]

859次阅读 0个评论
leetcode 2019-03-25
101. Symmetric Tree

leetcode 101. Symmetric Tree

Given a binary tree, check whether it is a mirror of it […]

725次阅读 0个评论
leetcode 2019-03-25
100. Same Tree

leetcode 100. Same Tree

Given two binary trees, write a function to check if th […]

809次阅读 0个评论
leetcode 2019-02-23
88. Merge Sorted Array

leetcode 88. Merge Sorted Array

Given two sorted integer arrays nums1 and nums2, merge  […]

804次阅读 0个评论
leetcode 2019-02-23
83. Remove Duplicates from Sorted List

leetcode 83. Remove Duplicates from Sorted List

Given a sorted linked list, delete all duplicates such […]

814次阅读 0个评论
leetcode 2019-02-23
67. Add Binary

leetcode 67. Add Binary

Given two binary strings, return their sum (also a bina […]

927次阅读 0个评论
leetcode 2019-02-17
58. Length of Last Word

leetcode 58. Length of Last Word

Given a string s consists of upper/lower-case alphabets […]

774次阅读 0个评论
leetcode 2019-02-17
53. Maximum Subarray

leetcode 53. Maximum Subarray

Given an integer array nums, find the contiguous subarr […]

918次阅读 0个评论
leetcode 2019-02-17
38. Count and Say

leetcode 38. Count and Say

The count-and-say sequence is the sequence of integers […]

840次阅读 0个评论
leetcode 2019-02-13
  • 1
  • 2
  • »
关于我们

算法之道关注机器学习、深度学习前沿热点,主要研究方向推荐系统和计算广告。当然还会关注各种有趣好玩的技术知识,钻研无止境。

友情链接
Copyright ©  Themes Design By Puock

Theme by Puock