Given Linked List
var head = null ; var second = null ; var third = null ; head = new node ( ) ; second = new node ( ) ; third = new node ( ) ; head . data = 3 ; head . next = second ; second . data = 4 ; second . next = third ; third . data = 8 ; third . next = null ; var t = EvalNearestMult ( head , 3 ) ; printList ( t ) ;