How to implement Merkle Patricia Trie in solidity

In my project, I need to implement Merkle Patricia Trie in solidity. But how can I implement recursive calls in solidity as Branch Node calls Extension Node and then Extension Node calls Branch node .
As I am new learner , please guide

Hi @bc_learner!

This appears to me as more of an ad-hoc support question and is hence off topic for this forum.

→ For urgent Solidity support questions, please use the Solidity Gitter/Matrix chat or consider checking out the Ethereum StackExchange.

Please check the welcome message before posting, it has all the relevant information. :slight_smile:

Closing this topic now.