CoolMind


If you cannot measure it, you cannot improve it.

abc module in Python

Introduction abc Module collections.abc Module Animal example AwesomeSequence Recommended reading: Introduction abc is short for Ab...

String in cpp

Introduction Convert to and from numbers Convert a number into a string Convert a number from a string Construct a s...

Notes about making Github pages beautiful

Introduction Auto TOC Highlight Anchor Comment Introduction More and more people are using Github pages as their personal website. Git...

Python descriptor

Property Descriptor Recently in my project, I need to dynamically add property to an instance. It is easy that any class can support it. c...

Leetcode summary of 20190922-20190929

Summary Highlight Code Section Summary Solved problems list Remove All Adjacent Duplicates in String II Most Stones Removed with ...

Dijkstra's 3-way quick sort

Quick-sort is one of the greatest inventions. Most of the time, its time complexity is O(nlogn). However, when the input array contains lots of dup...

Leetcode summary of 20190915-20190922

Summary Highlight Code Section Summary Solved problems list Check If Word Is Valid After Substitutions Redundant Connection Arr...

C++ Iterator

Introduction Common Iterator Wrapper Inserters IO related Common functions Introduction Iterator is an essenti...