function main(input, input1) { let grid = input.split( '\n' ); grid.shift(); // only in big input for ( let i = 0 ; i < 100 ; i++) { grid[i] = ' ' + grid[i]; } //console.log(grid[100]) grid = grid.map(x => x.split( '' )) // find first left top allowed let temppos = - 1 ; grid[ 0 ].forEach((element, i) => { if (temppos == - 1 && element == '.' ) { temppos = i; } }); let initpos = new pos(temppos, 0 ) // console.log(initpos) // make grid equal shape let...
hour of code activities,code.org dance party,hour of code | dance party,google studio code,code.org sign in,code org join,code.org minecraft,hour of code,types of coding,computer coding for beginners,coding websites,coding games,characteristics of algorithm,algorithms for beginners,how to write an algorithm,algorithm synonym,algorithm examples,types of algorithm,what is algorithm in computer,algorithm tutorial