Round 1
Questions: Interviewer pasted this question and said to code it out in 20 minutes. The input is coming from CSV data, and you have to write the driver function as well, ensuring the code compiles. No more hints were provided, and there is nothing wrong with the question.
Question:
csvData=""" "entry1",2,3.6 "boots",5,1.7 "slack",1,2.6 "triffid",11,-1.5 """
The data needs to be sorted numerically by the second column.
How would you go about sorting the entries and dumping the
newly sorted data?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.