FDM Group interview question

Prefix tree in hacket rank assessment with lld in java