undefined
32
Task
Java Collections, level 6, lesson 8
Locked
Understanding red-black trees
You are given an implementation of a red-black tree. But some methods are broken. Analyze the code and fix the errors. The main method is not tested. All of the modifiers are correct. Don't change variable or method names.
undefined
16
Task
Java Collections, level 6, lesson 8
Locked
Using TreeSet
The first parameter is the file name: file1. file1 only contains Latin letters, spaces, punctuation, dashes, and carriage returns. Sort the letters alphabetically and display the first 5 unique letters on a single line without separators.
undefined
16
Task
Java Collections, level 6, lesson 8
Locked
How many potential friends does a person have?
Today we'll analyze some functionality of social networks. How do social networks know who to suggest as friends you might know? This task is easily solved using graphs.