ā
I want to program, create games or useful applications. Iām purposeful, diligent, communicative. I work at the music school No. 6, I have prepared several laureates of international and republican competitions. I really liked programming, I first signed up for automation courses and passed them, but I want to write code in frontend. ā
module.exports = function towelSort (matrix) {
let arrAll=[];
if(matrix==undefined){
return []
}else{
let count=0
let arrAll=[];
for (let i = 0; i < matrix.length; i++) {
if(i%2==1){
for (let r = matrix[i].length-1; r >= 0; r--) {
arrAll[count]=matrix[i][r]
count++
}
} else{
for (let j = 0; j < matrix[i].length; j++) {
arrAll[count]=matrix[i][j]
count++
}
}
}
return arrAll
}
}
I read with a dictionary, I am actively studying, Now my level is A1. ā