Once in a while, being a CS student, some friends will ask me to help them do their programming homework. And being someone who get excited when being challenged (especially algorithm exercise, no matter how basic they are), I always said yes. So, in this repo will be the collection of the solution (with detailed explaination, of course) of the challenges.
If you find any error in the code, or you think you have a more elegant solution to the problem or wanna solve it in a different language, simply submit a PR.