Skip to content Skip to sidebar Skip to footer
Showing posts with the label Algorithm

Diamond-square Algorithm Not Working (rewrite Code From Js To Java)

I am trying rewrite code from JS to Java. The code is Diamond square algorithm. Source is: http://w… Read more Diamond-square Algorithm Not Working (rewrite Code From Js To Java)

Javascript - Generating Combinations From Dictionary Keys And Keeping Key Names Dynamically

I found this excellent code which generates all the combinations of multiple arrays here: JavaScrip… Read more Javascript - Generating Combinations From Dictionary Keys And Keeping Key Names Dynamically

Function To Solve Cubic Equation Analytically

I need to solve a cubic equation (ax^3 + bx^2 + c*x + d = 0) analytically and in real numbers, pref… Read more Function To Solve Cubic Equation Analytically

String Encryption - Generate Unique Pattern Like Spotify Codes

Yesterday I've read the question Algorithm to create costum Template/Code from String. Because … Read more String Encryption - Generate Unique Pattern Like Spotify Codes

Why The Results Of The Porter Stemmer Algorithm That I Have Not In Accordance With The Root Word That Should Be?

i need to use porter stemmer algorithm to get stem word in my application,but when i test the algor… Read more Why The Results Of The Porter Stemmer Algorithm That I Have Not In Accordance With The Root Word That Should Be?

Javascript /jquery : How To Get Permutations From Items Of An Array?

If I have one array that contains items , for example ['To','Ti','Ta'] I … Read more Javascript /jquery : How To Get Permutations From Items Of An Array?

Roman Numeral Translator Using Javascript

I got this to work without using underscore, but as an extra challenge I'm trying to convert Ro… Read more Roman Numeral Translator Using Javascript

Calculating The Shortest Route Between Two Points

I have been working in the past weeks on a multiplayer HTML5 game, using nodejs and websockets. I&#… Read more Calculating The Shortest Route Between Two Points