Posts by Slinkey99 • 93 points
3 posts
-
4
votes1
answer397
viewsQ: Java Priorityqueue Comparator
I’m trying to understand why the native mode of java is not performing the comparison, I don’t know where I’m going wrong. MAIN // EXERCICIO PARA COMPARAR DOIS OBJETOS, USANDO CLASSE NATIVA DE…
-
1
votes1
answer688
viewsQ: Exercise with Hashmap
I’m trying to do this exercise, I don’t know where I’m going wrong. Can you help me? I need to create a map that has the number of characters of a city name and by value in a list of all names with…
-
4
votes1
answer4003
viewsQ: Recursive binary tree and leaf sum
Friends I’m having trouble solving this exercise, and I don’t know how else to do it. I even implemented the tree with recursiveness, but I couldn’t leave the NODE empty and some leaves with number,…