mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-19 08:59:05 +08:00
Add Tower of Hanoi.
This commit is contained in:
@@ -13,7 +13,7 @@ export default class Stack {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {LinkedListNode}
|
||||
* @return {*}
|
||||
*/
|
||||
peek() {
|
||||
if (!this.linkedList.tail) {
|
||||
|
||||
Reference in New Issue
Block a user