T can be integer ,string ,anything. how to solve above error
hey @RULEREMPIRES we need to implement comparator or comparable interface