โ† Cognizant questions
Coding7/10

Tree Operations and Linked List Loop Detection

Filed under Cognizant

The question

Write code for node deletion from a tree, tree traversals (inorder, preorder, postorder, level-order), detection of a loop in a linked list, finding the loop starting point, and removing the loop.

No write-up yet. Related questions below have one.

Related Cognizant questions

Collected from public candidate posts and coding forums. Updated Nov 2026.