Triangle
约瑟夫环问题
12345678910111213141516171819202122232425"""《幸运的基督徒》有15个基督徒和15个非基督徒在海上遇险,为了能让一部分人活下来不得不将其中15个人扔到海里面去,有个人想了个办法就是大家围成一个圈,由某个人开始从1报数,报到9的人就扔到海里面,他后面的人接着从1开始报数,报到9的人继续扔到海里面,直到扔掉15个人。由于上帝的保佑,15个基督 ...
LRU Cache
LRU Cache
Largest Rectangle in Histogram
84. Largest Rectangle in Histogram[H]
https://leetcode.com/problems/largest-rectangle-in-histogram/
Description
Given n non-negative integers representing the histogram’s bar height where the width ...
Max Points on a Line
Max Points on a Line
Climbing Stairs
70. Climbing Stairs[E]
https://leetcode.com/problems/climbing-stairs/
Description
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In ...
Friend Circles
Friend Circles
904. Fruit Into Baskets
904. Fruit Into Baskets
475. Heaters
475. Heaters
458. Poor Pigs
458. Poor Pigs
Candy
Candy
Gas Station
Gas Station
H-Index
H-Index
Triangle
120. Triangle[M]
https://leetcode.com/problems/triangle/
Description
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For ...
Python Sys & OS
Sys & OS for Python3
简单算法
Sys & OS for Python3
Leetcode - Combination Sum
Leetcode - Numbers
Leetcode - Range Sum Query
Leetcode - Range Sum Query
Leetcode - 007/ Numbers
Leetcode - Numbers











