Tag: file

Print the N longest lines in a file java

I got a full 100 score and 182ms execution time of their data set on the site so I consider the code to be working and effective. What I'm wondering is, is there something I can do to make this faster than it already is? Did I miss anything? Any other comments? Input: 2 Hello … Continue reading Print the N longest lines in a file java

Advertisements