This repository is history of my algorithm practice. PS is my favourite hobby so I always wanna do better, be exceptional.
I'm a kind of beginner yet but I really enjoy it and love to share idea with others who are also interested in.
most of them are written in Java. more of Kotlin ones will be added in the future.
Any feedback will be always appreciated.
I use those websites to solve problems, mostly leetcode which I never forgot the daily ones.
Requirement: JAVA 11+
# clone the repository
git clone [email protected]:ShanePark/problem-solving.git
# go to the directory
cd problem-solving
# add the alis
alias leet='bash $(pwd)/leet.sh'
# execute the alias
leet
That's it. It'll automatically make a proper class name and put into your clipboard.
Just paste it on your own IDE and start coding!
If you want it to be permanent, add the alias to your .bashrc
or .zshrc
file. But you need to change the path to absolute path.
I made small utility package to help PS. it converts String to array, list, etc.. and also has lots of tools for testing the code especially for leetcode. check it out!