3rd round: Coding question: - Tell me about yourself - have hands-on experience on Json, Linus, Debugging, development - Given 2 unsorted list, output should be 1 joined list and sorted in ascending. - transactions = [ {"user_id": "u1", "type": "deposit", "amount": 100.0}, {"user_id": "u2", "type": "deposit", "amount": 200.0}, {"user_id": "u1", "type": "withdrawal", "amount": 50.0}, {"user_id": "u2", "type": "withdrawal", "amount": 30.0}, {"user_id": "u1", "type": "deposit", "amount": 70.0}, ] Check Balance() function, which gives the final balance U1 : U2 :
Anonymous
Hint: - Use merge sort algorithm - write a function that can works for any kind of input
Check out your Company Bowl for anonymous work chats.