I have a java file and I need to make a function efficient. The code i have is complete. Its 10-15 lines. Just need to make it efficient. The question the program solves is :
Read the input one line at a time and output the current line if and only if you have already read at least 1000 lines greater than the current line and at least 1000 lines less than the current line. (Again, greater than and less than are with respect to the ordering defined by [login to view URL]().)
My current solution passes all the test, but needs to be more efficient.
Using java and its collection frameworks
I have one more similar question.
I will pay $5 each. Thanjs
8 фрилансеров(-а) в среднем готовы выполнить эту работу за $18
Feel fee to contact me for .Shoot me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [login to view URL] payment only after the work [login to view URL] you
Hello I've read your job description. I'm new to freelancer but I'm not new to Java I've enough exp. Looking forward to hearing from you soon. Thanks.