Hi, everyone. Can I use any library when I coat with java?
For example, if you have a problem with sorting, use Arrays.sort() Use Map = new TreeMap<>(Collections.reversOrder())). Is this not a problem at all?
Maybe it's because I was solving problems with C, but it's so awkward<
java sorting library collections
Like substring()
in String
, Arrays.sort()
is a built-in library (or API) built into Java.
Adding and using a separate JAR file like a spring is called a third-party library.
As in the comments, the most accurate answer should be asked by the coding test organizer, but in general, built-in libraries are not restricted.
Of course, you can't write Arrays.sort()
if it's about implementing alignment... In this case, we will guide you not to use specific APIs for the problem. But I don't think there will be any basic questions like sorting in the coding test?
© 2024 OneMinuteCode. All rights reserved.