About me
I'm a really creative, positive and friendly person. I take my tasks responsibly and bring everything to the end. I have a mathematical mindset, attention to details, think ahead.
I have a desire to improve skills in the sphere of IT, and to learn English.
Education
Kuleshov Mogilev State University,
Faculty of Physics and Mathematics,
specialty teacher of computer science and English
Rolling Scopes School Course: JavaScript Development
Experience
Customer service manager (jewelry workshop), 5 years
Print product designer
Rewriting and copywriting.
Website management, SMM
Code Example
function numberOfPairs(gloves){
let sortGloves = gloves.slice().sort();
let globalCount = 0, i = 0, count;
firstFor:for(i = 0; i < sortGloves.length-1; ){
count = 1;
for(let j = i+1; j < sortGloves.length; j++){
if (sortGloves[i] == sortGloves[j]){
count++;
if(j == sortGloves.length-1) break firstFor;
} else{
globalCount += Math.floor(count/2);
i = j;
continue firstFor;
}
}
}
globalCount += Math.floor(count/2);
return globalCount;
}