32
Nhiệm vụ
Java Collections,  mức độbài học
Đã khóa
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.
16
Nhiệm vụ
Java Collections,  mức độbài học
Đã khóa
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.
16
Nhiệm vụ
Java Collections,  mức độbài học
Đã khóa
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.