BigFatSheep
码龄8年
关注
提问 私信
  • 博客:139,589
    139,589
    总访问量
  • 393
    原创
  • 1,704,491
    排名
  • 15
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:日本
  • 加入CSDN时间: 2017-04-17
博客简介:

BigFatSheep的博客

查看详细资料
个人成就
  • 获得25次点赞
  • 内容获得5次评论
  • 获得154次收藏
创作历程
  • 376篇
    2018年
  • 35篇
    2017年
成就勋章
TA的专栏
  • Leetcode
    385篇
  • Easy
    142篇
  • Medium
    195篇
  • Hard
    51篇
  • 算法
    6篇
  • 数据结构
    17篇
  • java
    1篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

342人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

307. Range Sum Query - Mutable

Description Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i, val) function modifies nums by updating the element at index i to val. E...
原创
发布博客 2018.11.26 ·
307 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

911. Online Election

Description In an election, the i-th vote was cast for persons[i] at time times[i]. Now, we would like to implement the following query function: TopVotedCandidate.q(int t) will return the number of t...
原创
发布博客 2018.11.24 ·
399 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

926. Flip String to Monotone Increasing

Description A string of '0’s and '1’s is monotone increasing if it consists of some number of '0’s (possibly 0), followed by some number of '1’s (also possibly 0.) We are given a string S of '0’s and ...
原创
发布博客 2018.11.23 ·
315 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

933. Number of Recent Calls

Description Write a class RecentCounter to count recent requests. It has only one method: ping(int t), where t represents some time in milliseconds. Return the number of pings that have been made from...
原创
发布博客 2018.11.23 ·
314 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

939. Minimum Area Rectangle

Description Given a set of points in the xy-plane, determine the minimum area of a rectangle formed from these points, with sides parallel to the x and y axes. If there isn’t any rectangle, return 0. ...
原创
发布博客 2018.11.23 ·
307 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

890. Find and Replace Pattern

Description You have a list of words and a pattern, and you want to know which words in words matches the pattern. A word matches the pattern if there exists a permutation of letters p so that after r...
原创
发布博客 2018.11.22 ·
233 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

853. Car Fleet

Description N cars are going to the same destination along a one lane road. The destination is target miles away. Each car i has a constant speed speed[i] (in miles per hour), and initial position po...
原创
发布博客 2018.11.22 ·
408 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

849. Maximize Distance to Closest Person

Description In a row of seats, 1 represents a person sitting in that seat, and 0 represents that the seat is empty. There is at least one empty seat, and at least one person sitting. Alex wants to sit...
原创
发布博客 2018.11.22 ·
185 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

846. Hand of Straights

Description Alice has a hand of cards, given as an array of integers. Now she wants to rearrange the cards into groups so that each group is size W, and consists of W consecutive cards. Return true if...
原创
发布博客 2018.11.22 ·
229 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

846. Hand of Straights

Description Alice has a hand of cards, given as an array of integers. Now she wants to rearrange the cards into groups so that each group is size W, and consists of W consecutive cards. Return true if...
原创
发布博客 2018.11.22 ·
229 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

837. New 21 Game

Description Alice plays the following game, loosely based on the card game “21”. Alice starts with 0 points, and draws numbers while she has less than K points. During each draw, she gains an integer...
原创
发布博客 2018.11.22 ·
285 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

834. Sum of Distances in Tree

Description An undirected, connected tree with N nodes labelled 0…N-1 and N-1 edges are given. The ith edge connects nodes edges[i][0] and edges[i][1] together. Return a list ans, where ans[i] is the ...
原创
发布博客 2018.11.22 ·
234 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

815. Bus Routes

Description We have a list of bus routes. Each routes[i] is a bus route that the i-th bus repeats forever. For example if routes[0] = [1, 5, 7], this means that the first bus (0-th indexed) travels in...
原创
发布博客 2018.11.22 ·
243 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

774. Minimize Max Distance to Gas Station

Description On a horizontal number line, we have gas stations at positions stations[0], stations[1], …, stations[N-1], where N = stations.length. Now, we add K more gas stations so that D, the maximum...
原创
发布博客 2018.11.22 ·
283 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

769. Max Chunks To Make Sorted

Description Given an array arr that is a permutation of [0, 1, …, arr.length - 1], we split the array into some number of “chunks” (partitions), and individually sort each chunk. After concatenating ...
原创
发布博客 2018.11.21 ·
185 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

769. Max Chunks To Make Sorted

Description Given an array arr that is a permutation of [0, 1, …, arr.length - 1], we split the array into some number of “chunks” (partitions), and individually sort each chunk. After concatenating ...
原创
发布博客 2018.11.21 ·
185 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

750. Number Of Corner Rectangles

Description Given a grid where each entry is only 0 or 1, find the number of corner rectangles. A corner rectangle is 4 distinct 1s on the grid that form an axis-aligned rectangle. Note that only the ...
原创
发布博客 2018.11.21 ·
243 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

731. My Calendar II

Description Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. Your class will have one method, book(int start, int end...
原创
发布博客 2018.11.21 ·
250 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

685. Redundant Connection II

Description In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exactly one p...
原创
发布博客 2018.11.21 ·
228 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

684. Redundant Connection

Description In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (with distinct values 1, 2, …, N), with o...
原创
发布博客 2018.11.21 ·
239 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多