awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
humanwhocodes avatar

humanwhocodes/computer-science-in-javascript

0
View on GitHub↗
9,119 نجوم·1,179 تفرعات·JavaScript·MIT·7 مشاهداتwww.nczonline.net↗

Computer Science In Javascript

This is a collection of classic computer science algorithms and data structures implemented from scratch in JavaScript. The project provides reference implementations of fundamental concepts including sorting algorithms, binary search, linked lists, and binary search trees, all built as standalone pure functions with no external dependencies.

The implementations cover a range of data structures, including singly-linked, doubly-linked, and circular linked lists with full traversal and mutation operations, as well as binary search trees supporting insertion, deletion, and search. Sorting algorithms such as bubble sort and selection sort are included, alongside binary search for efficient lookup in sorted arrays. The project also provides base64 encoding and decoding utilities for binary-to-text data conversion, and a Luhn algorithm implementation for validating numeric identifiers like credit card numbers.

Each module is designed as an independent, reusable function, making the collection suitable for studying how these algorithms and data structures work internally. The code uses JavaScript generator functions to provide iterable interfaces for custom data structures, enabling use with standard iteration protocols.

Features

  • Algorithm Implementations - Provides standalone JavaScript implementations of classic computer science algorithms.
  • Computer Science Education - Provides educational implementations of classic computer science algorithms and data structures in JavaScript.
  • Data Structure Implementations - Implements foundational data structures like linked lists and binary search trees from scratch.
  • Algorithm Demonstrations - Demonstrates common algorithmic patterns such as recursion and tree traversal with working code examples.
  • Binary Search Implementations - Implements binary search for efficiently locating values in sorted arrays.
  • JavaScript Implementations - Implements binary search on sorted arrays for efficient O(log n) element lookup in JavaScript.
  • Doubly Linked Lists - Implements doubly-linked lists with bidirectional traversal using next and previous pointers.
  • Algorithm Implementation Practice - Provides practical code implementations of classic sorting, searching, and tree algorithms for study.
  • Sorting Algorithms - Implements classic sorting algorithms such as bubble sort and selection sort.
  • JavaScript Implementations - Provides a collection of classic computer science algorithms and data structures implemented in JavaScript for learning and reference.
  • JavaScript Implementations - Implements fundamental data structures like linked lists, binary search trees, and circular lists in JavaScript.
  • Binary Search Trees - Implements binary search trees with insertion, deletion, and search operations maintaining the binary search property.
  • Linked Lists - Organize values in a linear sequence where each element points to the next, enabling efficient insertion and removal without reindexing.
  • Binary Search Algorithms - Implements binary search and binary search tree operations that repeatedly halve the search space.
  • Data Structure Implementations - Implements fundamental data structures including linked lists, binary search trees, and circular lists from scratch.
  • Sorting Algorithms - Implements classic sorting algorithms such as bubble sort and selection sort as reusable array manipulation functions.
  • Linked Lists - Store a sequence of elements where each node points to the next, enabling efficient insertions and deletions.
  • Linked List Manipulation Utilities - Provides linked list, doubly-linked list, and circular linked list implementations with full traversal and mutation operations.
  • Node Insertion Techniques - Implements linked list variants with nodes connected by next and previous pointers for constant-time insertions and deletions.
  • Singly - Implements a singly-linked list data structure with full traversal and mutation operations.
  • Classic Array Sorting Algorithms - Implements classic sorting algorithms such as bubble sort and selection sort for array ordering.
  • Bubble Sorts - Implements bubble sort as a standalone sorting algorithm in JavaScript.
  • Swap-Based Sorting Algorithms - Implements bubble sort and selection sort, both of which rearrange arrays by repeatedly swapping elements.
  • Standard Binary Searches - Implements binary search on sorted arrays for efficient O(log n) element lookup.
  • Structure Iterators - Yield each data item in sequence using a generator, making the list usable with loops and spread syntax.
  • Collection Iterators - Implement a generator that yields each item in sequence for use with for-of loops and destructuring.
  • Generator-Based Iterators - Uses JavaScript generator functions to provide iterable interfaces for linked lists and trees.
  • Index-Based Retrievals - Walk the list from the head to find and return the node at a given index.
  • Circular Index Removals - Implements index-based node removal for circular doubly linked lists.
  • Circular Index Retrievals - Retrieves node data by index from a circular doubly linked list.
  • Luhn Algorithm Validators - Provides a Luhn algorithm implementation for validating credit card numbers.
  • Base64 Encoding and Decoding - Provides base64 encoding and decoding utilities for binary-to-text data conversion.
  • List Traversal Algorithms - Implements sequential traversal of singly-linked lists by following next pointers.
  • Circular List Traversals - Traverses circular doubly linked lists with a post-test loop for head detection.
  • Reverse Traversals - Implements reverse iteration for doubly-linked and circular linked lists by following previous pointers.
  • Circular Tail Insertions - Inserts nodes at the tail of a circular doubly linked list with constant-time pointer updates.
  • Tail Insertions - Insert a new node at the end of the list in constant time by using the tracked tail pointer.
  • Tail Insertions - Insert a new node at the end of the list by traversing to the last node and linking it.
  • Node Removal Techniques - Delete a specified node from a sequence and reconnects its neighbors, handling first and last positions specially.
  • Doubly-Linked List Removals - Delete a node at a given index by adjusting the previous and next pointers of surrounding nodes.
  • Positional Removals - Find a node at a given index and remove it while updating both next and previous pointers of adjacent nodes.
  • Selection Sorts - Provides a standalone implementation of the selection sort algorithm for educational reference.
  • Tree Traversal Algorithms - Implements in-order traversal of binary search trees to output values in sorted order.
  • In-Order Iterators - Binary search tree values are output in sorted order by recursively visiting left subtree, current node, then right subtree.
  • Circular Infinite Iterations - Provides infinite iteration over circular doubly linked list data using generators.
  • Circular Value Iterations - Iterates over circular doubly linked list values using JavaScript generator functions.
  • Generator-Based Iterators - Make the list usable with for-of loops and destructuring by implementing a values generator.
  • Computer Science en JavaScript - Listed in the “Computer Science en JavaScript” section of the Frontend Developer Resources awesome list.

سجل النجوم

مخطط تاريخ النجوم لـ humanwhocodes/computer-science-in-javascriptمخطط تاريخ النجوم لـ humanwhocodes/computer-science-in-javascript

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

مجموعات مختارة تضم Computer Science In Javascript

مجموعات منسقة بعناية يظهر فيها Computer Science In Javascript.
  • الخوارزميات وهياكل البيانات بلغة JavaScript
  • مراجع الرياضيات لمطوري البرمجيات
  • أساسيات علوم الحاسب

بدائل مفتوحة المصدر لـ Computer Science In Javascript

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Computer Science In Javascript.
  • kodecocodes/swift-algorithm-clubالصورة الرمزية لـ kodecocodes

    kodecocodes/swift-algorithm-club

    29,099عرض على GitHub↗

    This project is a comprehensive collection of common computer science algorithms and data structures implemented in Swift. It serves as an educational reference and library for studying computational complexity, algorithmic logic, and data structure engineering through practical code examples. The repository provides a wide suite of data structure implementations, including various types of linked lists, heaps, hash tables, and an extensive range of hierarchical trees such as Red-Black, B-Tree, and Splay trees. It also covers diverse sorting and searching techniques, from basic bubble sort to

    Swiftalgorithmsdata-structuresswift
    عرض على GitHub↗29,099
  • chefyuan/algorithm-baseالصورة الرمزية لـ chefyuan

    chefyuan/algorithm-base

    10,702عرض على GitHub↗

    algorithm-base is an educational library and study guide designed for simulating algorithms and studying data structures. It functions as an execution visualizer that renders step-by-step state changes and pointer updates through animated simulations to illustrate how data movement works. The project distinguishes itself by mapping conceptual logic directly to multi-language source code implementations. It utilizes a comparative analysis framework to evaluate different algorithmic strategies based on stability, time complexity, and space complexity, while organizing problems by underlying mec

    algorithmsbaseinterview-practice
    عرض على GitHub↗10,702
  • azl397985856/leetcodeالصورة الرمزية لـ azl397985856

    azl397985856/leetcode

    55,758عرض على GitHub↗

    This project is a curated educational resource and solution repository for algorithmic challenges, specifically focused on LeetCode problems. It serves as a technical reference for common data structures and algorithmic patterns, providing verified code implementations across multiple programming languages alongside detailed logic and complexity analysis. The repository functions as a comprehensive study guide for competitive programming and technical interview preparation. It includes specialized learning tools such as an Anki flashcard dataset for spaced repetition and a browser extension t

    JavaScriptalgoalgorithmalgorithms
    عرض على GitHub↗55,758
  • wangzheng0822/algoالصورة الرمزية لـ wangzheng0822

    wangzheng0822/algo

    23,159عرض على GitHub↗

    This project is a data structures and algorithms library providing a collection of fifty standard code implementations for managing data and solving common computational problems. It serves as an algorithm implementation reference and study resource for educational use. The codebase covers graph theory implementations for modeling networks and performing searches, as well as string pattern matching libraries for the retrieval of character sequences. It includes a collection of hierarchical data structures, such as binary search trees and priority heaps, and provides optimized solutions for dy

    Python
    عرض على GitHub↗23,159
عرض جميع البدائل الـ 30 لـ Computer Science In Javascript→

الأسئلة الشائعة

ما هي وظيفة humanwhocodes/computer-science-in-javascript؟

This is a collection of classic computer science algorithms and data structures implemented from scratch in JavaScript. The project provides reference implementations of fundamental concepts including sorting algorithms, binary search, linked lists, and binary search trees, all built as standalone pure functions with no external dependencies.

ما هي الميزات الرئيسية لـ humanwhocodes/computer-science-in-javascript؟

الميزات الرئيسية لـ humanwhocodes/computer-science-in-javascript هي: Algorithm Implementations, Computer Science Education, Data Structure Implementations, Algorithm Demonstrations, Binary Search Implementations, JavaScript Implementations, Doubly Linked Lists, Algorithm Implementation Practice.

ما هي البدائل مفتوحة المصدر لـ humanwhocodes/computer-science-in-javascript؟

تشمل البدائل مفتوحة المصدر لـ humanwhocodes/computer-science-in-javascript: kodecocodes/swift-algorithm-club — This project is a comprehensive collection of common computer science algorithms and data structures implemented in… chefyuan/algorithm-base — algorithm-base is an educational library and study guide designed for simulating algorithms and studying data… azl397985856/leetcode — This project is a curated educational resource and solution repository for algorithmic challenges, specifically… wangzheng0822/algo — This project is a data structures and algorithms library providing a collection of fifty standard code implementations… amejiarosario/dsa.js-data-structures-algorithms-javascript — This project is a computer science educational resource and library providing implementations of data structures and… jack-lee-hiter/algorithmsbypython — AlgorithmsByPython is a reference library and educational repository providing runnable Python implementations of…