岁月悠悠,衰微只及肌肤;热忱抛却,颓唐必至灵魂。

Category
1168 Prime Day
PAT

1168 Prime Day

The above picture is from Sina Weibo, showing May 23rd, 2019...
avatar
1169 The Judger
PAT

1169 The Judger

A game of numbers has the following rules: at the beginning,...
avatar
1034 Head of a Gang
《算法笔记》

1034 Head of a Gang

One way that the police finds the head of a gang is to check...
avatar
1178 File Path
《算法笔记》

1178 File Path

The figure shows the tree view of directories in Windows Fil...
avatar
1176 The Closest Fibonacci Number
《算法笔记》

1176 The Closest Fibonacci Number

The Fibonacci sequence $F_n$ is defined by $F_{n+2}=F_{n+1}+...
avatar
1043 Is It a Binary Search Tree
《算法笔记》

1043 Is It a Binary Search Tree

A Binary Search Tree (BST) is recursively defined as a binar...
avatar
1053 Path of Equal Weight
《算法笔记》

1053 Path of Equal Weight

Given a non-empty tree with root R, and with weight $W_i$​ a...
avatar
《算法笔记》

1020 Tree Traversals

Suppose that all the keys in a binary tree are distinct posi...
avatar
1052 Linked List Sorting
《算法笔记》

1052 Linked List Sorting

A linked list consists of a series of structures, which are ...
avatar
1032 Sharing
《算法笔记》

1032 Sharing

To store English words, one method is to use linked lists an...
avatar