Solutions for some common algorithm problems written in Java.
Switch branches/tags
Nothing to show
Clone or download
hexingb and pedrovgs Two bugs fix + two typo + one test (#38)
* Fix bottom increasement instead of decrement in SquareRoot

* Fix typo

* Fix typo

* Add moveSorting test and fix swap condition in it's implementation
Latest commit 9ae21a5 Nov 2, 2017

Algorithms Build Status

This repository contains my solution for some common algorithms. I've created this repository to learn about algorithms and improve solving different common computer science problems. I'll try to add more solutions if I have time :)

Each solved problem has a program written in Java. Every solution is tested and some problems contains more than one solution with different implementations.

You can check the solution executing tests inside tests directory. Some of this problems have been resolved using TDD.



Linked List


Binary Numbers and bits operators

Math Operations



Sorting Algorithms


Developed By

Follow me on Twitter Add me to Linkedin


Copyright 2014 Pedro Vicente Gómez Sánchez

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.