Creating a set containing all the fibonacci numbers upto the maximum data value in the Singly Linked List
var hash = new Set ( ) ; createHash ( hash , maxEle ) ; var prod = 1 ; var sum = 0 ; var ptr = head_ref ;