Skip to content

herkahahaha/learn-dsa

Repository files navigation

Learn Data Structure and Algorithm

try to consistent update everday until 31 March 2024!!!

learning with implement spec driven evelopment or TDD, all the usecase write in Typescript and Javascript.

Array

  • find even number
  • max consecutive ones
  • remove duplicat from sorted array
  • squares array

Sorting

  • bubble sort
  • selection sort
  • insertion sort
  • merge sort

Array Search

  • linear search
  • bubble search

Hastable

  • sample crud hastable

Binary Tree

  • Insert Search and Delete in binary tree

Link List

  • Add value in link list

Fun exerciese

mostly updated after finishing leetcode exercise 😎

  • fizzbuzz game
  • findmeeting
  • palindrom
  • twosum
  • fibonacci
  • Linter Stack
  • Trapping Rain Water
  • Stars String
  • Group Anagram
  • Edit Distance
  • lowless common ancestor
  • can place flower
  • reverse word

Reference

Graph sheet big O notation

source from bigOCheatSheet

chart common_data array_sorting

To install dependencies:

bun install

To run:

bun dev

to run the testing

// run all test
bun test

// run specific test using --watch
bun test ./exercise/__test__/linterStack.test.js --watch

This project was created using bun init in bun v1.0.25. Bun is a fast all-in-one JavaScript runtime.

About

learn and fun coding about data structure algorithm using javascript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published