public class findMode{
    public static void main(String[] args){

    }
    public static int mode(int[] array){
        ArrayList<Integer> r = new ArrayList<>();

    }
    public static int find(List<Value> list, target){

    }
}
class Value {
    private int value;
    private int counter;
    public Value(int v) {
        value=v;
        count=0;
    }
    public int getValue(){

    }
    public int getCounter(){

    }
    //increment counter by 1
    public void increment(){

    }
} 

Update after organising some files
Update after organising some files
