ALL POSTS
It is designed to address the multiple pattern string matching problem.
A description, analysis and solution for joseph circle problem.
This article gives two methods to derive Fibonacci sequence: matrix method and difference equation method
This article presents an algorithm for the problem of selecting combinations of elements.
When we compile some cross -platform programs, we will inevitably encounter _win32 __linux__ what is the macro of the compiler or the compiler environment.It indicates some information of the current platform environment to the compiler.
蓋聞聖人以四海為家,英宰與千齡合契。用能不行而至,春霆仗天地之威;以息相吹,時雨鬱山川之兆。故有元蛟晚集,憑鶴鼎而先鳴;蒼兕晨驚,運龍韜而首出。並能風騰霧躍,指麾成烈士之功。
明史 卷 209
Give an example: how to write dynamic and static link libraries and reference them in C programs. And how the link library works
Analysis and usage scenarios of spin lock, optimistic lock, pessimistic lock, read-write lock, mutex lock and other concepts.