The data file used by this assignment is HW5Datacsv file The
     The data file used by this assignment is HW5Data.csv file. The first column/field represents the ID of the record/line.  Develop a Java program to:  Display the time used to read data records from HW5Data.csv into a binary tree, sorted by ID in ascending order  Display the memory used to store these records in the above binary tree 
  
  Solution
public class BufferedRedeem { public static void main(String[] args) { BufferedReader br = null; long startTime = System.currentTimeMillis(); try { String sCurrentLine; br = new BufferedReader(new FileReader(\"C://abcd.log\")); while ((sCurrentLine = br.readLine()) != null) { System.out.println(sCurrentLine); } long elapsedTime = System.currentTimeMillis() - startTime; System.out.println(\"Total execution time taken in millis: \" + elapsedTime); } catch (IOException e) { e.printStackTrace(); } finally { try { if (br != null)br.close(); } catch (IOException ex) { ex.printStackTrace(); } } } }
