Deletion in circular linked list

Can we do deletion by making only a single function,ie,getNode and deleteNode in one

@garganshul151 yes you can combine both the functions but it is usually better to make separate functions for separate tasks to increase reusability.