public static void main(String args[]){
        MultiplyTwoNumbersLinkList mtn = new MultiplyTwoNumbersLinkList();
        LinkList ll = new LinkList();
        Node head1 = null;
        head1 = ll.addNode(2, head1);
        head1 = ll.addNode(3, head1);
        head1 = ll.addNode(5, head1);
        head1 = ll.addNode(0, head1);
        head1 = ll.addNode(1, head1);
            
        Node head2 = null;
        head2 = ll.addNode(5, head2);
        head2 = ll.addNode(7, head2);
        head2 = ll.addNode(8, head2);
            
        Node result = mtn.multiply(head1, head2);
        ll.printList(result);
    }
Multiply two numbers in form of link list
Idea is to multiply one number from head2 with all numbers from head1.
This result is stored in currentResult. Pass this currentResult and any previous result from multiplication
and add them
src/com/interview/linklist/MultiplyTwoNumbersLinkList.java