working example https://stackblitz.com/edit/js-isyptv?file=index.js running code //Longest Common Substring using recursion 1 let r1 = 0 ; let m1 = 0 ; String . prototype . subStringR = function ( str2 , r = this . length , c = this . length , count = 0 ) { r1 += 1 ; if ( r === 0 || c === 0 ) { return count ; } if ( this [ r - 1 ]=== str2 [ c - 1 ]) { count = this . subStringR ( str2 , r - 1 , c - 1 , count + 1 ); } count = Math . max ( count , this . subStringR ( str2 , r - 1 , c , 0 ), this . subStringR ( str2 , r , c - 1 , 0 )); retur...
all about coding especially in javascript, daily used algorithms, react, angular and other gaming stuffs like webgl, pixijs, three.js and cocos2dx running code sample especially in javascript and c++.