Problem in content of lecture

Huffman Encoder:

the heap is use i dont have any idea i try to make but i think there is too mistake.

Heap Code:

@deepgarg46 tell me your exact problem Because debugging this code without knowing anything about the concept is impossible for me.

when i call encode fun into my main fun then output is show null

@deepgarg46 send me your code of main function.

@deepgarg46 try the debugger in your eclipse IDE and you will find why it is giving a null error. Debug line by line

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.