Joseph Carothers
← All projects

Javascript

Data Structures and Algorithms

My solutions to problems from AlgoExpert, complete with unit tests for each solution.

GitHub ↗Thu Nov 11 2021 · 1 min read
Stack
Javascript
Data Structures and Algorithms cover

Data Structures and Algorithms

This GitHub repository contains my solutions to a variety of coding problems from AlgoExpert. Each problem is solved using JavaScript, and every solution is paired with unit tests to ensure its correctness. This project was part of my ongoing effort to deepen my understanding of algorithms and data structures, focusing on real-world coding challenges.

Why I Built It

Working through problems related to data structures and algorithms is key to mastering computer science fundamentals, especially for technical interviews. I wanted to document my solutions in a structured way, not only for personal reference but also to demonstrate my ability to write clean, testable code.

Key Features

  • Problem Solutions: Each problem is tackled using efficient algorithms in JavaScript. Solutions focus on both correctness and performance.
  • Unit Tests: To validate each solution, I’ve written unit tests that ensure the algorithm performs as expected under various conditions. This makes the repository a great resource for anyone looking to practice algorithmic thinking and test-driven development (TDD).
  • AlgoExpert Problem Set: The repository covers a range of problems from AlgoExpert, including challenges on arrays, strings, graphs, trees, dynamic programming, and more.

Tech Stack

  • JavaScript: All algorithms and tests are written in JavaScript, showcasing my proficiency in solving algorithmic problems with one of the most popular programming languages.

Final Thoughts

This repository is a collection of my work and learning journey through data structures and algorithms. If you’re preparing for technical interviews or want to see how these problems can be solved with clean, testable code, feel free to explore the repository.

You can find all the solutions and tests in the GitHub repository.