Ambarella interview question

2 leetcode question: linked list and tree based Questions on post training quatization model compression, how to implement it with the Pytorch library, had to write the complete oops based code