Dranov Alexander
Front-end Developer (Beginner)
Hello, i'm learning what is Front-end development. Currently working on freelance as Quality Assurance Specialist in Translating Agencies.
Strong soft skills: Communication, Focus, Teamwork, Time management, Public speaking.
English level is B2, mostly learned by myself.
Education
2011-2016
Bachelor
Russian-British Institue of Management
Business Informatics
2021-2022
Junior
The Rolling Scopes School
Junior Front-end development
Skills
- BEM
- Adaptive
(in progress...)
- SASS
- Bootstrap
- Tailwind
- Fundamentals
- ES6+
- OOP
- DOM
- Asynchronous
(in progress...)
- GitHub
- BitBucket
- Figma
- Photoshop
- CorelDraw
Code Example
You have a set of integers s
, which originally contains all the numbers from
1
to n
.
Unfortunately, due to some error, one of the numbers in s got duplicated to another number
in the set, which results in repetition of one number and loss of another number.
You are given an integer array nums
representing the data status of this set
after the error. Find the number that occurs twice and the number that is missing and return them in he
form of an array.
const findErrorNums = function (nums) {
let sumFormula = nums.length * (nums.length + 1) / 2
let obj = {};
let answer = [];
for (let i = 0; i < nums.length; i++) {
sumFormula -= nums[i];
obj[nums[i]] = obj[nums[i]] + 1 || 1;
if (obj[nums[i]] == 2) {
answer.push(nums[i]);
}
}
answer.push(answer[0] + sumFormula);
return answer;
Projects
Contacts
- Russia, Chelyabinsk.
- moze9lol@gmail.com
- +7 (900) 025-36-23