Autumn is around the corner:
Keep moving forward, looking for summer internship

what I want to do:
- do more leetcode practice
- get a good grade ( ML, Database )
- work hard to finish school project (build a website, visualize data)
other pictures:


Autumn is around the corner:
Keep moving forward, looking for summer internship

what I want to do:
other pictures:


sorted() : returns a new list
list.sort() : modifies the list in-place and only defined for list
1 | example = [7,4,3,1,2] |
example not ordered after calling sorted:
output : 7, 4, 3, 1, 2
1 | after_sort = sorted(example) |
assign to new list after_sort
output : 1, 2, 3, 4, 7
1 | example.sort() |
output is sorted : 1, 2, 3, 4, 7
1 | from operator import itemgetter |
first order by number (itemgetter(1))
then order by alphabet ( itemgetter(0))
output : [[‘G’, 4], [‘A’, 10], [‘B’, 10], [‘C’, 10], [‘D’, 10]]
1 | from operator import itemgetter |
My major is applied data science, and my bachelor degree is in computer science
ongoing :
description : lintcode 615
dag (directed acyclic graph) => G = ( V, E )
topology sort (G)
solution : 615 solution
G = (V, E)
time analysis: O (V+E)
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment
Update your browser to view this website correctly. Update my browser now