Recursive Function In Data Structure