Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.42 KB

README.md

File metadata and controls

65 lines (43 loc) · 1.42 KB

Algorithms

Personal solutions for coding challenges and algorithm practice, maintained by ScriptCamilo.

Structure

algorithms/
├── freecodecamp/daily-coding-challenges/   # TypeScript + Deno tests
└── hackerrank/                             # JavaScript solutions (legacy)

freeCodeCamp — Daily Coding Challenge

Challenges live under freecodecamp/daily-coding-challenges/. Each subfolder is one challenge and follows the same layout:

  • index.ts — solution
  • *.test.ts — Deno test suite
  • README.md — problem statement, freeCodeCamp link, and tests

Open a challenge folder (or its README.md) for details; the root README is not kept in sync with every entry.

HackerRank

Standalone .js files from earlier practice. They are not wired into the Deno test runner yet.

Getting started

Requires Deno.

Run all freeCodeCamp tests:

deno test freecodecamp/daily-coding-challenges/

Run a single challenge:

deno test freecodecamp/daily-coding-challenges/transposed-matrix/

Format TypeScript:

deno fmt

Imports

deno.json maps @/freecodecamp/daily/ to freecodecamp/daily-coding-challenges/, so tests can import solutions like:

import { transpose } from "@/freecodecamp/daily/transposed-matrix/index.ts";

License

MIT © ScriptCamilo