actor6
actor6
全部文章
分类
C++(3)
leetcode(python)(17)
比赛(1)
归档
标签
去牛客网
登录
/
注册
/home
一只C++菜鸡的学习路
全部文章
(共21篇)
leetcode-94 Binary Tree Inorder Traversal
Given the root of a binary tree, return the inorder traversal of its nodes' values. 示例: Input: root = [1,null,2,3] Output: [1,3,2] 本题就是一个简...
2020-11-03
0
381
leetcode-1418 Display Table of Food Orders in a Restaurant
Given the array orders, which represents the orders that customers have done in a restaurant. More specifically orders[i][customerNamei,tableNumberi,f...
2020-11-03
0
502
leetcode-1261 Find Elements in a Contaminated Binary Tree
Given a binary tree with the following rules: root.val == 0 If treeNode.val == x and treeNode.left != null, then treeNode.left.val == 2 * x + 1 If tr...
2020-11-02
0
414
leetcode-961 N-Repeated Element in Size 2N Array
题目: In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeated N ...
2020-11-02
0
438
leetcode-343 Integer Break
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro...
2020-11-01
0
468
leetcode-1508 Range Sum of Sorted Subarray Sums
Given the array nums consisting of n positive integers. You computed the sum of all non-empty continous subarrays from the array and then sort them in...
2020-11-01
0
374
leetcode-1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
Given an integer k, return the minimum number of Fibonacci numbers whose sum is equal to k. The same Fibonacci number can be used multiple times. The...
2020-11-01
0
390
leetcode -695 Max Area of Island
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo...
2020-11-01
0
375
leetcode-1375
There is a room with n bulbs, numbered from 1 to n, arranged in a row from left to right. Initially, all the bulbs are turned off.At moment k (for k f...
2020-11-01
0
341
leetcode-1338 Reduce Array Size to The Half
题目: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of ...
2020-11-01
0
499
首页
上一页
1
2
3
下一页
末页