i know java, but i tried writing same code in javscript but failed.major problem that face is how i create heapmover(static obj) and implement recurssion.Here below is my ja