A place to view, solve, and run common coding puzzles

Overview

Node.js CI

coding-puzzlers

A place to view, solve, and run common coding puzzles.

Getting Started

Clone

git clone https://github.com/eallen10/coding-puzzlers.git

Install

npm i

Run All Puzzles

npm run test

Run Specific Puzzle

npm run test -- -i '<path_to_puzzle_spec>

Add New Puzzle

npm run add:new:puzzle <new_puzzle_name>

This will create a new puzzle folder and the following template files:

  • puzzle.md - the description of your new puzzle
  • solutions.ts - a file to store solutions to your puzzle
  • <new_puzzle_name>.spec.ts - a spec file to hold your puzzle tests

Ledger

The puzzles in this project were gathered from the following sources:

The Blind 75

Name Difficulty Added Solution
two-sum easy y y
best-time-to-buy-and-sell-stock easy y y
contains-duplicate easy y y
product-of-array-except-self medium y y
maximum-subarray medium y y
maximum-product-subarray medium y y
find-minimum-in-rotated-sorted-array medium y y
search-in-rotated-sorted-array medium n n
three-sum medium n n
container-with-most-water medium n n
sum-of-two-integers medium n n
number-of-one-bits easy n n
counting-bits easy n n
missing-number easy n n
reverse-bits easy n n
climbing-stairs easy n n
coin-change medium n n
longest-increasing-subsequence medium y n

Other Sources

Name Difficulty Added Solution
is-it-a-palindrome easy y y
reverse-a-string easy y y
robot-bounded-in-circle medium y y
roman-numeral-to-number easy y y
You might also like...

Solve travel woes and grow networks!

Solve travel woes and grow networks!

RouteBuddies Solve travel woes and grow networks! You can be guaranteed an easy, comfortable and safe journey, while getting to interact with variety

May 26, 2022

Run a command, watch the filesystem, stop the process on file change and then run the command again...

hubmon Run a command, watch the filesystem, stop the process on file change and then run the command again... Install You can install this command lin

Jul 30, 2022

A showcase of problems once hard or impossible to solve with CSS alone, now made trivially easy with Flexbox.

Solved by Flexbox A showcase of problems once hard or impossible to solve with CSS alone, now made trivially easy with Flexbox. View Site Viewing the

Jan 2, 2023

Placebo, a beautiful new language agnostic diagnostics printer! It won't solve your problems, but you will feel better about them.

Placebo, a beautiful new language agnostic diagnostics printer! It won't solve your problems, but you will feel better about them.

Placebo A beautiful new language agnostic diagnostics printer! ┌─[./README.md] │ 1 │ What is Placebo? · ───┬──── ·

Dec 16, 2022

Solve reCAPTCHA challenges by using offline speech recognition.

reCAPTCHA Solver Solve reCAPTCHA challenges by using offline speech recognition. It can be very useful when you want to do E2E tests with your applica

Nov 28, 2022

💀 A bare-minimum solution to solve CORS problem via proxy API

💀 CORS Hijacker A bare-minimum solution to solve CORS problem via proxy API Base URL https://cors-hijacker.vercel.app/ Get Get Basic HTML Endpoint: $

Nov 4, 2022

@nodesecure/ci brings together a set of tools to identify dependencies vulnerabilities and track most common malicious code and patterns

@nodesecure/ci brings together a set of tools to identify dependencies vulnerabilities and track most common malicious code and patterns

NodeSecure CI Action @nodesecure/ci brings together a set of tools to identify dependencies vulnerabilities and track most common malicious code and p

Jul 29, 2022

A Typescript companion to the book A Common-Sense Guide to Data Structures and Algorithms by Jay Wengrow

A Typescript companion to the book A Common-Sense Guide to Data Structures and Algorithms by Jay Wengrow

This repository aims to be a companion to the book A Common-Sense Guide to Data Structures and Algorithms by Jay Wengrow. I rewrote most of the data s

Dec 3, 2022

solana-base-app is a base level, including most of the common features and wallet connectivity, try using `npx solana-base-app react my-app`

solana-base-app is a base level, including most of the common features and wallet connectivity, try using  `npx solana-base-app react my-app`

solana-base-app solana-base-app is for Solana beginners to get them up and running fast. To start run : run npx solana-base-app react my-app change th

Dec 27, 2022
Owner
null
100 Days of Code is a self improvement tool, where you make a commitment to solve 1 coding problem everyday for the next 100 days.

100 Days of Code is a self-improvement tool, where you make a commitment to solve 1 coding problem everyday for the next 100 days. This repository includes a range of tasks, lessons, resources, and challenges on various programming languages to help improve programming skills.

Tarleton Computer Society 7 Dec 14, 2022
Team Empire offers an innovative and intuitive game based on puzzles solved by two players working in a team.

Team Empire offers an innovative and intuitive game based on puzzles solved by two players working in a team. The user can create an account to monitor their results and achievements. The whole idea of the product is to make the player think and develop his logical thinking.

Vocational school for computer programming and innovation 14 Aug 8, 2022
OnePiece /r/place repo to store the template and script for outlining the place to put titles

onepiece-place OnePiece /r/place repo to store the template and script for outlining the place to put titles This script & repo are cloned from Antice

Lopeh 11 Apr 9, 2022
Reddit Place Tracer is a browser based userscript for the 2022 Reddit /r/Place project

Reddit Place Tracer is a browser based userscript for the 2022 Reddit /r/Place project which adds a transparent image on top of the canvas to aid communities with drawing the same image. It shows how the canvas should look, where each pixel goes, and what color. The user must manually click on these spots. It is not an automated bot and does not break any rules.

null 3 Apr 3, 2022
The /r/place Atlas is a project aiming to catalog all the artworks created during Reddit's 2022 /r/place event.

The 2022 Place Atlas The /r/place Atlas is a project aiming to catalog all the artworks created during Reddit's 2022 /r/place event. This project was

Place Atlas 397 Dec 28, 2022
StarkNet support extension for VSCode. Visualize StarkNet contracts: view storage variables, external and view functions, and events.

StarkNet Explorer extension This VSCode extension quickly shows relevant aspects of StarkNet contracts: Storage variables of the current contract, and

Crytic 6 Nov 4, 2022
A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view.

Strapi Preview Button A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view. Get Started Features I

Matt Milburn 53 Dec 30, 2022
Use real-time computing technology and web technology to build a big data Kanban l to solve the problem. Among them, practical technologies include MySQL, Kafka, Flink, Redis, Flask and Echarts

实时计算(English Version) 运用实时计算技术、Web 技术构建一个大数据看板来解决问题。其中实用技术包括Mysql、Kafka、Flink、Redis、Flask和Echarts 目录 1.问题需求 2.方案分析 3.安装环境 4.环境启动命令和运行代码的方法 5.代码目录结构说明

Serendipity 2 Jan 8, 2022
A string of four operations of the library, can solve the js digital calculation accuracy of scientific notation and formatting problems, support for thousands of decimal point formatting output operations

A string of four operations of the library, can solve the js digital calculation accuracy of scientific notation and formatting problems, support for thousands of decimal point formatting output operations

null 10 Apr 6, 2022