To find the maximum element in a Binary Search Tree (BST), start at the root node. Check if the current node has a right child. If yes, move to that right child and repeat. Continue moving right until you reach a node with no right child. That node contains the maximum value in the BST. If the tree is empty, return null. This works because in BSTs, right children always have greater values than their parents. The code sample shows this logic using a while loop. The execution table traces each step, showing the current node and pointer changes until the maximum is found.