I’m a beginner frontend developer with strong motivation and understanding of modern tools and approaches. I enjoy learning new technologies, tackling challenges, and solving complex problems. I am committed to continuous improvement, dedicating time daily to studying web development, automation, and optimization.
I dream of joining a team where I can develop as a specialist and bring real benefit to projects.
Programming & Markup Languages
Development tools & Technologies
Methodologies & Principles
Operating Systems & Environments
Given two arrays a
and b
write a function comp(a, b)
(orcompSame(a, b)
) that checks whether the two arrays have the “same” elements, with the same *multiplicities* (the multiplicity of a member is the number of times it appears). “Same” means, here, that the elements in b
are the elements in a
squared, regardless of the order.
My Solution:
function comp(array1, array2) {
if (!Array.isArray(array1) || !Array.isArray(array2)) return false;
if (array1.length !== array2.length) return false;
const arr1 = array1.sort((a, b) => a - b).map(el => el ** 2);
const arr2 = array2.sort((a, b) => a - b);
for (let i = 0; i < arr1.length; i++) {
if (arr1[i] !== arr2[i]) return false;
}
return true;
}
Self-learning Project — Browser Card Game “DrunCard”
DrunCard is a dynamic and engaging version of the popular card game “War,” designed to be played directly in your browser. The project is implemented using JavaScript, HTML, and CSS following modern web development standards.
Rostov College of Informatics and Communications
Specialization: Programming in Computer Systems
Qualification: Computer Programming Technician
Additional Courses (Udemy):