Spoiler Alert interview question

First round was typically behavioral questions.

Interview Answer

Anonymous

7 Dec 2020

They asked me to Write a function that can receive contents and return the total weight of each expired category. Include some code that calls the function with the example input above and print the results. Add comments with any assumptions you’re making. In pseudocode, describe all the test cases you would need to write to be confident you’ve covered all edge cases and assumptions you’ve made with your code.