Skip to content

Instantly share code, notes, and snippets.

View ahmadhosny's full-sized avatar
📭
trying to nail it

Ahmad Hosny Elsayed ahmadhosny

📭
trying to nail it
  • Berlin, Germany
  • 16:56 (UTC +02:00)
View GitHub Profile
@ahmadhosny
ahmadhosny / MergeSorter.java
Created November 26, 2015 10:43
A Java class that implements Merge Sort Algorithm to sort ArrayLists and count the inversions in the same time
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.ahmadhosny.algo;
import java.util.ArrayList;
import java.util.List;