Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Programming Interviews
  3. Practice common algorithms using JavaScript

Practice common algorithms using JavaScript

MITJavaScript

A collection of JavaScript solutions to algorithm problems from LeetCode, GeeksforGeeks, and CareerCup.

Visit WebsiteGitHubGitHub
747 stars105 forks0 contributors

What is Practice common algorithms using JavaScript?

Algorithms-Javascript is a curated collection of JavaScript solutions to algorithmic problems from platforms like LeetCode, GeeksforGeeks, and CareerCup. It helps developers practice and master common coding interview questions by providing implemented solutions with tests and explanations. The repository covers a wide range of difficulties and topics, from basic data structures to complex algorithms.

Target Audience

JavaScript developers preparing for technical interviews, computer science students learning algorithms, and engineers looking to improve their problem-solving skills with practical examples.

Value Proposition

It offers a structured, well-tested reference for algorithmic solutions in JavaScript, saving time compared to searching scattered resources. The inclusion of utility classes and linting tools ensures code quality and consistency, making it a reliable study aid.

Overview

Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup

Use Cases

Best For

  • Practicing LeetCode-style interview questions in JavaScript
  • Studying algorithm implementations for common data structures
  • Referencing solutions for database SQL problems from LeetCode
  • Learning sorting algorithms like heap sort, merge sort, and quick sort
  • Preparing for coding interviews with tested, linted code examples
  • Understanding problem-solving patterns for easy, medium, and hard challenges

Not Ideal For

  • Developers wanting interactive learning with video tutorials or step-by-step explanations
  • Teams needing production-ready algorithm libraries with performance optimizations and benchmarks
  • Learners who prefer solutions in other popular languages like Python or Java for interview prep
  • Projects requiring a dynamically updated problem set with the latest LeetCode additions

Pros & Cons

Pros

Extensive Problem Coverage

Covers over 70 LeetCode problems across easy, medium, and hard levels, including classics like Edit Distance and 3Sum, with clear categorization by difficulty and platform.

Built-in Testing Suite

Each solution includes a test file with a `test()` function, allowing users to run unit tests locally—for example, via `node Test.js <file_path>`—to validate implementations quickly.

Code Quality Enforcement

Integrates ESLint for linting and automatic fixes, ensuring consistent JavaScript style across all solutions, as specified in the README's linter instructions.

Reusable Utility Classes

Provides classes for data structures like Linked List and Tree, simulating built-in types from other languages, which are handy for solving algorithmic problems in JavaScript.

Cons

Manual Setup Overhead

Requires installing dependencies with `npm install` and using command-line tools for testing and linting, which is less convenient than browser-based platforms for quick reference.

Limited Explanatory Depth

Focuses on code snippets with minimal explanations or alternative approaches, making it less suitable for beginners needing conceptual breakdowns or learning resources.

Static and Potentially Outdated

As a static GitHub repo, it relies on manual contributions; solutions may not be updated for new LeetCode problems or changes, risking obsolescence without active maintenance.

Frequently Asked Questions

Quick Stats

Stars747
Forks105
Contributors0
Open Issues2
Last commit1 month ago
CreatedSince 2018

Tags

#problem-solving#computer-science#interview-preparation#data-structures#interview-prep#javascript#coding-challenges#interview-questions#sorting-algorithms#algorithms#leetcode

Built With

J
JavaScript
N
Node.js
E
ESLint

Links & Resources

Website

Included in

Programming Interviews81.8k
Auto-fetched 3 hours ago

Related Projects

123 Essential JavaScript Interview Question123 Essential JavaScript Interview Question

JavaScript interview Questions

Stars5,239
Forks1,194
Last commit1 year ago
JavaScript Modern Interview Code Challenges 2021JavaScript Modern Interview Code Challenges 2021

A collection of JavaScript modern interview code challenges for beginners to experts

Stars4,455
Forks854
Last commit1 month ago
Some basic javascript coding challenges and interview questionsSome basic javascript coding challenges and interview questions

Some basic javascript coding challenges and interview questions

Stars4,221
Forks664
Last commit8 years ago
The MEGA Interview GuideThe MEGA Interview Guide

The MEGA interview guide, JavaSciript, Front End, Comp Sci

Stars1,103
Forks125
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub