Algorithms and data structures implemented in JavaScript, each with an explanation and links to further reading. It covers sorting, graphs, trees, dynamic programming and more, and is a popular resource for interview preparation.
JavaScriptCreated
What is trekhleb/javascript-algorithms?
This repository contains JavaScript implementations of many common algorithms and data structures, written as learning material. Each algorithm or structure has its own README with an explanation, its complexity and links for further reading, some of them to video lectures. It covers sorting and searching, graphs and trees, dynamic programming, string algorithms and more, and the code is paired with tests so readers can run and check it.
The author has translated the explanations into many languages, and the repository is widely used for interview preparation and self-study. The README also carries a notice about the war in Ukraine and links to relief organisations.
It suits JavaScript developers who want to learn algorithms in the language they use every day, students following a data-structures course, and interview candidates who want worked examples.
One developer's complete computer science study plan for landing a software engineering job at a large tech company, listing data structures, algorithms, systems topics and the videos and books to learn each one.
Chinese-language study notes covering what technical interviews expect: LeetCode problems, operating systems, networking, databases, Java and system design. Widely used by students and engineers preparing for jobs in China.
React lets you build web and native user interfaces from reusable components that describe what the screen should look like for each state. It powers a huge share of modern web apps and frameworks such as Next.js.
The popular HTML, CSS and JavaScript framework for building responsive, mobile-first websites quickly, with a grid system, ready-made components and utilities. Documentation and themes make it easy to start without a designer.