Adobe interview question

1. Set Matrix 0 2.Reverse a Doubly Linked List