Function to delete all the Even Parity Nodes from the singly circular linked list
function deleteEvenParityNodes ( head ) { if ( head == null ) return ; if ( head == head . next ) { if ( isEvenParity ( head . data ) ) head = null ; return ; } var ptr = head ; var next ;