June 27, 2024

On Read/Write Code

Recently I’ve been thinking about how to improve reading and writing code. Here are some ideas for discussion. Read more

August 23, 2023

Keep Healthy

Many young people have unhealthy routines and habits. This post will introduce a reason why we should have healthy routines and habits. Read more

August 8, 2023

How to programming fast

I have a good understanding of algorithms, data structures, logic, program verification, and Vim keybindings. Why am I not fast as I thought? Read more

April 21, 2021

How new is implemented

You may be asked what’s the difference between new and malloc. In fact, they are completely different. However, in a sense, they are almost no difference. Read more

March 10, 2021

The Stack Sorting

Recently, I got stuck in the stack data structure. Everyone knows that the stack is a LIFO (Last In First Out) data structure. This is easy to understand, but not easy to use sometimes. Read more

January 21, 2021

The Welfare Crook

题目 The Welfare Crook, 出自 “Science of Programming”: Suppose we have three long magnetic tapes, each containing a list of names in alphabetical order. The first list contains the names of people woring at IBM Yorktown, the second the names of students at Columbia University and the third the names of people on welfare in New York City. Practically speaking, all three lists are endless, so no upper Read more

Powered by Hugo & Kiss.