I am very new to Java and have been assigned to implement a few methods:
1. add (T newValue) ---> add an entry to a sorted list requires that you find the right position the new entry belongs (ascending order).
I have an object with Map interface in java, so i would like to know which is the best way to iterate over the items in a HashMap?
Explain in more details if possible, thanks
Suppose I have a have java.io.InputStream object, how should I process that object and produce a
String from it in java?
I would need a function which reads InputStream and output it as a String
How do you implement B-Tree in java with a GUI.
I'm new to Java Algorithms and want to know how to implement this data structure in code.