I want to write recursive function or ideal function filter data as below,
-------------------------Sample 1--------------------------- (0) -> Name - Jacob an