大貓的第一個家
文章標籤歸檔關於我

#datastructures

共有 3 篇相關文章

[Data Structures] Hash Tables
2024/11/13

In this article, we’ll explore the hash table data structure, which provides fast data access using keys. We'll build our own hash table step-by-step in JavaScript, covering how it stores data, handles collisions, and retrieves values.

datastructures
javascript
hashtable
[Data Structures] Binary Search Trees
2024/11/1

In this article, we'll dive into the fundamentals of Binary Search Trees (BST), a powerful data structure that organizes data for efficient insertion, search, and traversal operations. Starting from the basic concepts, we’ll explore the recursive call stack, how to insert and search for values, and cover multiple traversal methods, including depth-first (in-order, pre-order, post-order) and breadth-first traversals. By the end, you’ll understand BST operations and have the code to create and manipulate a Binary Search Tree in JavaScript.

datastructures
javascript
[Data Structures] Linked Lists
2024/10/28

Linked lists are a fundamental data structure in computer science, offering flexibility in managing and organizing data. This article introduces linked lists in JavaScript, explaining their structure, basic operations like adding and removing nodes, and how to search within them. Perfect for beginners, this guide takes you step-by-step through building and understanding linked lists, making complex concepts accessible to everyone.

datastructures
javascript

Copyright © 2019-2025 Sean Huang. All rights reserved.

All images and other content related to MapleStory are owned by Nexon Corporation.