Sitemap
A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.
Pages
Page not found. Your pixels are in another canvas.
This is a page not in th emain menu
Posts
55 minute read
Published:
LeetCode Question List
1 minute read
Published:
LeetCode 837 New 21 Game
6 minute read
Published:
Largest Sum of Averages
less than 1 minute read
Published:
背包九讲阅读笔记
less than 1 minute read
Published:
less than 1 minute read
Published:
less than 1 minute read
Published:
less than 1 minute read
Published:
When $a \ne 0$, there are two solutions to (ax^2 + bx + c = 0) and they are \(x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\)
4 minute read
Published:
- 创建一个thread
1 minute read
Published:
Leetcode 857 Minimum cost to hire K workers
less than 1 minute read
Published:
- Arrays
- asList(arguments…) => List
- fill(array, value)
- sort(array, Comparator)
- stream()
- ArrayList
- remove(index)
- remove(Obj)
- sort(Comparator)
- toArray() => Object
- Queue
- add
- element
- offer
- peek
- Poll
- instantiate as LinkedList or ArrayDeque
- Stack
- Iterator
- Implements iterable
- returns an iterator
- hasNext, next
- Stream
- Collection.stream().map/filter/ etc…. collect(Collectors.toList())
- Map
- Entry
- getKey
- put
- getValue
- keySet
- values
- entrySet
2 minute read
Published:
Pseudo-codes are from wikipedia
less than 1 minute read
Published:
链表操作总结
单向链表的操作大致可以总结为插入,删除和反转。根据问题,可以将一般解法依照单向链表的特征进行改造。
3 minute read
Published:
C++
less than 1 minute read
Published:
决策树
1 minute read
Published:
TCP, UDP协议学习笔记
less than 1 minute read
Published:
this is a sample post
publications