218e21e800 
					 
					
						
						
							
							Update stack.md ( #1788 )  
						
						... 
						
						
						
						* Update stack.md
K大好,小白建议在这句话前面增加一个条件 -- "每次只能移动一个盘子",如此不仅可以对应后面的 `将上面的盘子**依次**移走`,从而避免了 "可以将上面的盘子一次移走" 的歧义;而且对应了每次移除一个元素的出栈逻辑。
* Refine explanation of stack data structure
Corrected phrasing for clarity in stack explanation.
---------
Co-authored-by: Yudong Jin <krahets@163.com> 
						
						
					 
					
						2025-09-20 19:18:35 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e4784ba939 
					 
					
						
						
							
							feat: add ruby code blocks - chapter stack and queue ( #1234 )  
						
						
						
						
					 
					
						2024-04-07 18:58:56 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b1a98fb61 
					 
					
						
						
							
							Use underline format for the technical terms ( #1213 )  
						
						... 
						
						
						
						* Use underline format for the technical terms
* Bug fixes 
						
						
					 
					
						2024-04-03 03:52:17 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						57bdfd6284 
					 
					
						
						
							
							Add Ruby code blocks to the documents ( #1200 )  
						
						... 
						
						
						
						* Add Ruby code blocks to documents
* Remove Ruby code from en/docs 
						
						
					 
					
						2024-03-31 03:57:11 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cfe8281aee 
					 
					
						
						
							
							Add kotlin code for chapter_stack_and_queue and chapter_tree ( #1197 )  
						
						... 
						
						
						
						* Add kotlin code block for chapter_hashing
* Add kotlin code block for chapter_heap.
* Add kotlin code block for chapter_stack_and_queue and chapter_tree
* fix indentation
* Update binary_tree.md
---------
Co-authored-by: Yudong Jin <krahets@163.com> 
						
						
					 
					
						2024-03-30 13:16:39 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						202450420d 
					 
					
						
						
							
							Add the kotlin blocks to the documents ( #1170 )  
						
						
						
						
					 
					
						2024-03-25 03:15:36 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e813b5a0fa 
					 
					
						
						
							
							Bug fixes and improvements ( #1078 )  
						
						... 
						
						
						
						* Fix the logo in the en version
* Optimize header color and fix body background color
* Update theme switch's name
* Fix backfrop-filter on Safari
* Update some animation's file name for adding egde when cropping
* Re-count the comments number
* A bug fix in n_queens_problem.md 
						
						
					 
					
						2024-02-14 18:37:18 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f6976978dd 
					 
					
						
						
							
							Prepare 1.0.0 release ( #1044 )  
						
						... 
						
						
						
						* Update the book with the thrid revised edition
* Fix a typo
* Update the contributors' information
* Update the mindmap
* Update the version number 
						
						
					 
					
						2024-01-14 03:16:20 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0b7e99dafa 
					 
					
						
						
							
							feat: Adjust the size of pythontutor blocks ( #1036 )  
						
						... 
						
						
						
						* Update the style of the python tutor blocks
* Use pythontutor links instead of iframe in the documents 
						
						
					 
					
						2024-01-09 16:09:35 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d3cb600910 
					 
					
						
						
							
							translation: Add the initial translation of the chapter of stack and queue ( #1033 )  
						
						... 
						
						
						
						* Update the format of Q&As in docs-en
* Fix the code comments of JavaScript and TypeScript
* Add the initial translation of the chapter of stack and queue 
						
						
					 
					
						2024-01-08 19:06:37 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ddd375af20 
					 
					
						
						
							
							feat: Add visualizing code blocks based on the pythontutor ( #1029 )  
						
						... 
						
						
						
						* Update copyright
* Update the Python code
* Fix the code comments in ArrayBinaryTree
* Fix the code comments in ArrayBinaryTree
* Roll back time_comlexity.py
* Add the visualizing code(pythontutor) blocks to the chapter complexity, data structure, array and linked list, stack and queue, hash table, and backtracking
* Fix the code comments 
						
						
					 
					
						2024-01-07 04:04:01 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f68bbb0d59 
					 
					
						
						
							
							Update the book based on the revised second edition ( #1014 )  
						
						... 
						
						
						
						* Revised the book
* Update the book with the second revised edition
* Revise base on the manuscript of the first edition 
						
						
					 
					
						2023-12-28 18:06:09 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e720aa2d24 
					 
					
						
						
							
							feat: Revised the book ( #978 )  
						
						... 
						
						
						
						* Sync recent changes to the revised Word.
* Revised the preface chapter
* Revised the introduction chapter
* Revised the computation complexity chapter
* Revised the chapter data structure
* Revised the chapter array and linked list
* Revised the chapter stack and queue
* Revised the chapter hashing
* Revised the chapter tree
* Revised the chapter heap
* Revised the chapter graph
* Revised the chapter searching
* Reivised the sorting chapter
* Revised the divide and conquer chapter
* Revised the chapter backtacking
* Revised the DP chapter
* Revised the greedy chapter
* Revised the appendix chapter
* Revised the preface chapter doubly
* Revised the figures 
						
						
					 
					
						2023-12-02 06:21:34 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9baf4a1753 
					 
					
						
						
							
							Use Vec.last() method to access the top item of stack. ( #942 )  
						
						... 
						
						
						
						* Use Vec.last() method to access the top item of stack.
* Use Vec.last() method to access the top item of stack. 
						
						
					 
					
						2023-11-13 14:18:29 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17252b53a9 
					 
					
						
						
							
							Format code and docs.  
						
						
						
						
					 
					
						2023-10-24 16:19:29 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						faa44fecd2 
					 
					
						
						
							
							Squash the language code blocks and fix list.md ( #865 )  
						
						
						
						
					 
					
						2023-10-16 12:06:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b39c2a94d3 
					 
					
						
						
							
							Move docs/zh back to docs.  
						
						... 
						
						
						
						Move docs/overrides to overrides/.
Other fine tunes. 
						
						
					 
					
						2023-10-08 04:25:06 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6f7e768cb7 
					 
					
						
						
							
							Move docs/* to docs/zh/*  
						
						
						
						
					 
					
						2023-10-08 01:33:09 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						400b3914f6 
					 
					
						
						
							
							Move docs/zh back to docs.  
						
						
						
						
					 
					
						2023-10-08 01:22:57 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f1ef7e9d10 
					 
					
						
						
							
							Move documents to a sub-directory  
						
						... 
						
						
						
						to support multi-language selector. 
						
						
					 
					
						2023-10-06 00:57:28 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cbe76b58a2 
					 
					
						
						
							
							feat: add rust docs ( #815 )  
						
						... 
						
						
						
						* feat: add rust docs
* Import std types for built_in_hash doc 
						
						
					 
					
						2023-10-01 06:25:03 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0a2ad4489a 
					 
					
						
						
							
							feat: add Rust code in stack.md ( #748 )  
						
						... 
						
						
						
						* Update stack.md
Add rust sample code
* Update stack.md
* Update stack.md
---------
Co-authored-by: Yudong Jin <krahets@163.com> 
						
						
					 
					
						2023-09-15 02:11:46 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9c3b7b6422 
					 
					
						
						
							
							Sort the coding languages by applications. ( #721 )  
						
						
						
						
					 
					
						2023-09-04 03:19:08 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						57851ab11e 
					 
					
						
						
							
							Update punctuation  
						
						
						
						
					 
					
						2023-08-27 23:40:39 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c5a7323817 
					 
					
						
						
							
							Replace ":" with "。"  
						
						
						
						
					 
					
						2023-08-27 22:49:47 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1aa558bd2d 
					 
					
						
						
							
							Add figure and table numbers in normal texts.  
						
						
						
						
					 
					
						2023-08-22 13:51:25 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						106f02809a 
					 
					
						
						
							
							Mention figures and tables in normal texts.  
						
						... 
						
						
						
						Fix some figures.
Finetune texts. 
						
						
					 
					
						2023-08-21 19:33:45 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						981144e42d 
					 
					
						
						
							
							1. lower-case nouns  
						
						... 
						
						
						
						2. fix 2 figures
3. Replace some 「」 by “” 
						
						
					 
					
						2023-08-20 23:28:30 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2626de8d0b 
					 
					
						
						
							
							Polish the chapter  
						
						... 
						
						
						
						introduction, computational complexity. 
						
						
					 
					
						2023-08-20 14:51:39 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						70227c82cb 
					 
					
						
						
							
							Remove center-table from docs.  
						
						... 
						
						
						
						Add header to the tables. 
						
						
					 
					
						2023-08-19 19:22:08 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4bc6b8af7b 
					 
					
						
						
							
							finetune  
						
						
						
						
					 
					
						2023-08-06 23:19:37 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b9b324b298 
					 
					
						
						
							
							Use abbreviation for JavaScript and TypeScript  
						
						
						
						
					 
					
						2023-07-26 15:35:38 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						027bdd6510 
					 
					
						
						
							
							Release Rust code to documents. ( #656 )  
						
						
						
						
					 
					
						2023-07-26 11:00:53 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						63a0e73df0 
					 
					
						
						
							
							Unify punctuation.  
						
						
						
						
					 
					
						2023-07-26 08:59:36 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						978d3c2ed7 
					 
					
						
						
							
							fix(csharp): reformat csharp codes and docs ( #652 )  
						
						... 
						
						
						
						* fix(csharp): reformat the C# codes and docs
* Update time_complexity.md
---------
Co-authored-by: Yudong Jin <krahets@163.com> 
						
						
					 
					
						2023-07-24 19:50:00 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						281c0c618a 
					 
					
						
						
							
							feat: modify some Dart codes and add Dart code blocks to the docs ( #543 )  
						
						
						
						
					 
					
						2023-06-02 14:56:29 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						025051c81b 
					 
					
						
						
							
							Add Dart codes to the documents. ( #529 )  
						
						
						
						
					 
					
						2023-06-02 02:40:26 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbc4906582 
					 
					
						
						
							
							Publish the C codes to the docs. ( #469 )  
						
						
						
						
					 
					
						2023-04-18 20:21:31 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						236b9cadb1 
					 
					
						
						
							
							Polish the chapter of stack_and_queue, tree  
						
						
						
						
					 
					
						2023-04-10 23:59:22 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						10e2180013 
					 
					
						
						
							
							Unify the comment style of python codes  
						
						
						
						
					 
					
						2023-04-09 05:30:02 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1c8b7ef559 
					 
					
						
						
							
							refactor: Replace 结点 with 节点 ( #452 )  
						
						... 
						
						
						
						* Replace 结点 with 节点
Update the footnotes in the figures
* Update mindmap
* Reduce the size of the mindmap.png 
						
						
					 
					
						2023-04-09 04:32:17 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8aebbaad21 
					 
					
						
						
							
							refactor: Replace poll with pop in Queue and Deque ( #415 )  
						
						
						
						
					 
					
						2023-03-13 21:58:21 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9151eaf533 
					 
					
						
						
							
							Add typing annotations to Python codes. ( #411 )  
						
						
						
						
					 
					
						2023-03-12 18:49:52 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82bbdd444d 
					 
					
						
						
							
							Update the chapter of stack and queue.  
						
						
						
						
					 
					
						2023-03-12 04:14:36 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dabe5d5c24 
					 
					
						
						
							
							build  
						
						
						
						
					 
					
						2023-02-28 20:03:53 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a49631dba 
					 
					
						
						
							
							Unify the headings in mkdocs.yml and the articles.  
						
						
						
						
					 
					
						2023-02-26 20:16:55 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						23cda5e225 
					 
					
						
						
							
							Add captions for all the animations.  
						
						
						
						
					 
					
						2023-02-26 19:22:46 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7aa44d212c 
					 
					
						
						
							
							Remove all the table captions.  
						
						
						
						
					 
					
						2023-02-26 18:23:11 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9e99ac06ce 
					 
					
						
						
							
							Update the captions of all the figures.  
						
						
						
						
					 
					
						2023-02-26 18:18:34 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b25aadae6f 
					 
					
						
						
							
							Remove the file headers from the docs.  
						
						
						
						
					 
					
						2023-02-26 02:19:40 +08:00