rsschool-cv

Shubin Alexander

Contacts

About me

Recently I hit the 15th year of my life and among the wide range of opportunities, already available for me, I search for the best place to realize my possibilities. I am a fast learner and always eager to practise.

Basics of some IT technologies are already known to me. I have taken part in developing some small-scale projects in Python, tried myself in web development.

Skills

Code example

My first Codewars kata

function isAValidMessage(message){
    if (message) {
        message = message.split('').slice(1).reduce((acc, val) => {
            const lastVal = '0123456789'.includes(acc[acc.length - 1][0])
            const currentVal = '0123456789'.includes(val)

            if ((!currentVal && lastVal) || (currentVal && !lastVal)) {acc[acc.length] = val}
            else {acc[acc.length - 1] += val}

            return acc;
        }, [message[0]]);

        if (message.length % 2 !== 0) {return false}
        if (!'0123456789'.includes(message[0][0])) {return false}

        console.log(message)

        for (let i = 0; i <= message.length / 2; i+=2) {
            if (message[i] != message[i + 1].length) {
                return false;
            }
        }
    }

    return true;
}

Experience

Education

Languages