Need java datastructure and algorithm expert

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

Квалификация: Java, Алгоритмы

Показать больше surveymonkey need java, java project linked list assignemnt solution, aim dont need java, monopoly online dont need java, need java freelancer, need java programmer finish project, java unrar algorithm, need project based algorithm, need java resources job jobs, website need java, need java programmers, need java programmer project, need java programer, need java denmark, software houses lahore need java programmers, need java programmer per assignment, online card games dont need java, need java expert help, need java expert

О работодателе:
( 9 отзыв(-а, -ов) ) ottawa, Canada

ID проекта: #23520733

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

$30 CAD за 3 дней(-я)
(77 отзывов(-а))

hi, i am gopinath, i have 4+ years experience in game development and mobile application development i am working on unity3d,android studio,xcode

$20 CAD за 1 день
(3 отзывов(-а))

~~~~~~~~~~Hi, how do you do?~~~~~~~~~~~ I have majored in C++/C, C#, Java, Python. I have enough skills and rich experiences in this field over 4 years. I had participated in famous ICPC for 2 years. I have study data Больше

$10 CAD за 1 день
(2 отзывов(-а))

Hello.I can do that. Please get back to me and let's discuss and start your project. Thanks.

$20 CAD за 7 дней(-я)
(0 отзывов(-а))

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.

$20 CAD за 7 дней(-я)
(0 отзывов(-а))

Ok. I am up for the challenge Let's have a look. Send your code to see how efficient I can make it.

$15 CAD за 1 день
(0 отзывов(-а))

My speciality is optimizing inefficient code. I have studied algorithms and datastructures both in general math and in the specific context of computer science. All I need is to see your code and tests and know by prec Больше

$15 CAD за 3 дней(-я)
(0 отзывов(-а))

Hi I'm very experienced in Java algorithms and data structures and I can accept lower pays for every project. Thanks!

$10 CAD за 7 дней(-я)
(0 отзывов(-а))