أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
I think it did not depends on the language, you should find and write the algorithm first then translate it to a code.
Thank you for the invitation, but I didn't understand your question. Can you explain more?