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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Greenhorn
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
192
  • Mark post as helpful
  • send pies
  • Report post to moderator
Continue the discussion here: https://coderanch.com/t/705391/languages/find-period-number-calls-file
 
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
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!