I am trying to check the values of a comparable method and assign the 1 and -1 value to true and false. I made a simple if else statement that does just that b
I'm learning about Queue Collection and I don't understand why do I need to implement Comparable interface if I use PriorityQueue? I have used Comparable and Co