Skip to content

eliataylor/studies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Unit Testing Algorithms & Data Structures

  • Most common algorithms implemented
  • Utility functions to generate test data for many scenarios
  • Time & space complexity analysis
  • Performance comparison tools
# Test a specific sorting algorithm
npm run sort-test -- --algorithm quick --size 1000

# Compare multiple sorting algorithms
npm run sort-test -- --algorithms "quick,merge,heap" --size 5000

# Display sorting help information
npm run sort-help
# Test a specific search algorithm
npm run search-test -- --algorithms binary --sizes 1000

# Compare multiple search algorithms
npm run search-test -- --algorithms "binary,linear,jump"

# Display search help information
npm run search-help
# Test a specific search algorithm
npm run packing-test --algorithms "firstFitBin,onlineFirstFit" --count 150

# Compare multiple search algorithms
npm run packing-test --algorithms bin --count 200

# Display search help information
npm run search-help

Review Quizzes

  • Quizzes I've completed from LeetCode, Codility, Codesignal, HackerRank, etc.

Installation

npm install
npm run live

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors