**Algorithms – Inorder Successor in Binary Tree **

**Objective:** Given a Binary tree (Not binary Search Tree ), find the inorder successor of a node.

*What is Inorder Successor: **Inorder successor of a node is the next node in the inorder traversal of the tree. For the last node in a tree, inorder successor will be NULL*

**Similar Problems : **

Inorder Successor in Binary Search Tree with parent link

Inorder Successor in Binary Search Tree without parent link

**Input:** A binary tree, a node x

**Output: Inorder successor of node x.**

**Example: **

**Approach:**