Creating a set containing all the fibonacci numbers upto the maximum data value in the Singly Linked List
HashSet < Integer > hash = new HashSet < Integer > ( ) ; createHash ( hash , maxEle ) ; int prod = 1 ; int sum = 0 ; Node ptr = head_ref ;