ALL POSTS

TypeScript Type-Exercises 1

Jan 3, 2024
TYPESCRIPT

财新社评:重温「实事求是」的思想路线

本文刊发于 2023 年 12 月 25 日出版的《财新周刊》第 50 期

中国改革开放 45 周年之际,《财新周刊》星期一(12 月 25 日)刊出题为《重温实事求是思想路线》的社论,呼吁在民营经济增长乏力当下,继续坚持实事求是,“直面真问题,方能解决真问题”。该篇社论引发中国内外网络平台广泛讨论,在发布当天即被删除。

Jan 1, 2024
中文博客
防夹收藏

就任北京大学校长之演说

《就任北京大学校长之演说》是近代教育家蔡元培的演说作品,是蔡元培在 1917 年就任北京大学校长时发表的。这篇就任北京大学校长的就职演讲,开宗明义地对青年学子提出了三点要求:一是抱定宗旨;二是砥砺德行;三是敬爱师友。明确求学目的及办学宗旨,望学子们以身作则,匡正流俗,为天下人之道德楷模。

Dec 31, 2023
中文博客
文史哲艺

The Master Theorem For Time Complexity

In this article, we will model the time complexity of divide and conquer using mathematical methods, analyze its asymptotic properties, and provide three methods of calculation.

Dec 18, 2023
ALGORITHM
MATHEMATICS
COMPUTATION

The Bash Game

A pile of stones, two people take turns to take at least 1 stone and at most 2 stones. Whoever gets the last stone loses.

Dec 14, 2023
ALGORITHM

Fast Inverse Square Root

Magic Number - 0X5f3759df

The article introduces an algorithm called Fast Inverse Square Root, which is used to quickly calculate the inverse square root of a floating point number.

Dec 8, 2023
MATHEMATICS
ALGORITHM

送東陽馬生序

余朝京師,生以鄉人子謁余,譔長書以為贄,辭甚暢達;與之論辯,言和而色夷。自謂少時用心於學甚勞,是可謂善學者矣。其將歸見其親也,余故道為學之難以告之。謂余勉鄉人以學者,余之志也;詆我夸際遇之盛而驕鄉人者,豈知予者哉。

Dec 7, 2023
文史哲艺
古文整理

How Do Computer Calculate the Log-Function

Take the Glibc's Mindset for Example
Dec 7, 2023
ALGORITHM
MATHEMATICS

Moore's Voting Algorithm for Finding Majority Element

Moore's Voting Algorithm is an algorithm used to find the element that appears more than half the time in an array.

Dec 2, 2023
ALGORITHM

A Star Algorithm

A* search algorithm is a path finding algorithm that finds the single-pair shortest path between the start node(source) and the target node(destination) of a weighted graph.

Nov 24, 2023
ALGORITHM
/ 7