Update arraylist based on some conditions
I am working on a project where I need to read a text file line by line and if some conditions met write the data into one line.
The approch I am researching is to use an arraylist with binary search and if search element found to write an updated data to a new file.
I am looking for any directions on how best to tackle this task.
Here is sample of the data: