Skip to content

Latest commit

 

History

History
81 lines (77 loc) · 4.38 KB

README.md

File metadata and controls

81 lines (77 loc) · 4.38 KB

This repository includes a series of tests that can be used for practicing algorithms in the Javascript, Python, and Ruby programming languages. To get started, clone this repo locally:

git clone https://github.com/jaysonvirissimo/practice-thy-algorithms.git

JavaScript Instructions

Make sure you have the npm package manager installed. Navigate to the JavaScript directory and run npm install. The problem statements are inside the appropriately named files in lib. This is also where you write your own code. Run npm test when you are ready for some feedback on your attempt.

Python Instructions

Ensure Python is installed. Navigate to the Python directory. Add your solutions in the lib directory. Run the tests with python -m unittest discover -s test.

Ruby Instructions

Make sure you have bundler installed. Navigate to the Ruby directory and run bundle install. The problem statements are inside the appropriately named file in lib. This is also where you write your own code. Run rspec when you are ready for some feedback on your attempt.

Problems

Name JavaScript Ruby Python
Digital Root x x x
Caesar Cipher x x x
Common Substrings x x x
Recursive Sum x x x
Fibonacci Sequence x x x
Palindrome x x x
Valid IP x x x
Folding Cipher x x x
Unique Substrings x x x
Largest Contiguous Subsum x x
Silly Years x x
Pair Sum x x
Matrix Region Sum x x
Merge Sort x
Binary Search x
Productify x
Subsets x x
Longest Palindrome x
Fast Intersection x x
Common Subsets x
Can Win x
Weighted Random Index x
Move Zeros x
Look and Say x
Sum Upon Sums x
Max Stack x
Stack Queue x
Windowed Max Range x
File List x
Find Missing Number x
Is Shuffle? x
Decimal to Binary x x
Recursive Factorial x
Iterative Factorial x
Permutations x
Dictionary x
Hash Table x
Minimum Coin Change x
Stack x x
Find Duplicate x
Find Missing Letter x
Find Non-Duplicate Character x
Queue x
Reverse String x x
Recursive Print x
Recursive Character Count x x
Select Even x
Triangle Number x
Index of X x
Uniques Paths x
Add Until 100 x
Golomb Sequence x