Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

How to find the period that most number of calls made where made from a file  RSS feed

Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
I need to create a java project with the following: I have an input file that holds calls range in milliseconds all over the year – the file is sorted by start time. for example 0-100 (call started at 0 ended at 100) 1-100 , 5-50 , 60-150, 65-180 I need to return the period in the year when the network was the busiest. in this example the result will be 65-100 because in this period there were 4 calls in the air I have limited heap memory ( 8GB ) and must run over the file only once what is the best logic to use here ( in java)
Saloon Keeper
Posts: 9710
  • Mark post as helpful
  • send pies
  • Report post to moderator
Continue the discussion here:
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!