Kumpulan soal-soal latihan algoritma dasar dengan testing JEST
- Basic understanding javascript
- Reverse String
- Revever Int
- Max Characters (Recurring The Characters)
- Chunk Array
- The Classic FizzBuzz
- Fibonacci
- Palindrome
- Anagrams
- Sentence Capitalization
- Printing Steps
- Pyramid
- Find The Vowels
- Matrix Spiral
- Runtime Complexity
- Weaving
- Stack Data Structure
- Circular
- Binary Search Trees (BST)
- Level Width
- Find Midpoint
- The Queue Data Structure
- Clone this repo
https://github.com/irhamputra/algo-learning.git
cd algo-learning
- Install JEST
npm install -g jest
- Start JEST
jest {dir}/test.js --watch
example
jest reversestring/test.js --watch
- Start answering the question in index.js
function reverse(str){
// Tulis jawaban kamu disini
}
Hasil test lulus atau tidaknya akan muncul di terminal. Selamat belajar!
Repo ini akan selalu update dengan soal-soal terbaru dari beberapa developer handal