Home
Chang Wan
Cancel

Hash Tables: The Backbone of Efficient Data Searching

Hash tables are one of the most fundamental data structures in computer science, pivotal for enabling rapid data retrieval. Their efficiency and performance in accessing data make them indispensabl...

Skip Lists: Binary Search on Linked Lists

Skip lists are a fascinating and practical data structure that combines elements of both linked lists and balanced trees. Offering a clever probabilistic twist, skip lists provide efficient search,...

Binary Search: The Power of O(log n)

Binary search is a classic algorithm in computer science with time complexity O(log n), renowned for its efficiency in searching sorted arrays. Unlike linear search, which scans each element sequen...

Designing a Generic, High-Performance Sorting Algorithm

In the quest for efficiency and versatility in software development, the design of sorting algorithms plays a pivotal role. A well-crafted sorting algorithm can significantly enhance the performanc...

Recursive

Recursive algorithms are a fascinating aspect of programming and algorithm design, offering elegant solutions to complex problems by allowing a function to call itself. Recursive algorithms are a ...

Stacks and Queues: Operation-Constrained Linear Lists

Linear lists, often simply referred to as lists, are the data structure that represents a sequence of elements arranged in a linear order. In addition to arrays and linked lists, stacks and queues ...

Mastering Linked Lists: Avoiding Common Pitfalls

Although simple, linked lists are crucial in data structures, providing a dynamic and flexible way of storing and managing data. It is important for us to avoid some common pitfalls in linked lists...

Linked Lists: The Opposite of Arrays

In the realm of data structures, linked lists are as fundamental as arrays but come with their own unique set of advantages for certain use cases. Contents Different Types of Linked Lis...

Arrays: The Cornerstone of Organized Data

Arrays are one of the most fundamental and widely used data structures in computer programming. They serve as a crucial building block for more complex data structures and algorithms. Contents ...

Preview Image

《万历十五年》摘录——戚继光篇

戚继光去世前如此凄凉的结局,他自己想到了吗?他大概是想到了。身为中国古代的名将,尤其是明朝的名将,应该是有这样的政治自觉的。他具有可贵而清醒的现实感,他尽量不去触动体制,他只做自己力所能及的事情。 目录 帝国畸形的军事制度 肆虐的倭寇 用倭寇的方式打败倭寇 不触碰明暗的规则 张居正的信任 “蓟门无事,则足下之事已毕” 凄惨的结局 ...

ip