Sobes.tech

Company overview

Сбермаркетинг

Latest vacancy: No data

Vacancies
0
Interviews
1
Questions
23
Tasks
0

Published in the selected period

Vacancies · 0

All company vacancies

No vacancies were found for the selected period.

Published records

Interviews · 1

All company interviews

Grouped by direction

Questions and tasks · 23

Frontend

What is recursion? What are its rules? What is it used for?

Middle

Are parameters passed to the function by reference or by value?

Middle

What is a pure function? When is a function considered pure? What are side effects?

Middle

What has changed in React 18 during the Reconciliation process?

Middle

import "./styles.css"; import React from "react"; const getData = () => { return Array.from({ length: 50 }, (el, idx) => ({ value: Math.random(), label: `row ${idx + 1}`, })); }; export default function App() { const [data, setData] = React.useState(getData()); const handleUpdate = () => { setData((prev) => { return prev.map((row, i) => i === 0 ? { ...row, value: Math.random() } : row ); }); }; return ( <div> <h1>List App</h1> <Button onClick={handleUpdate}>update `row 1`</Button> {data.map((row) => { return <Row key={row.label} label={row.label} value={row.value} />; })} </div> ); }

Middle

What does useMemo do? When should it be used? Should the child component be wrapped in React.memo?

Middle

Given the following code snippet: ```typescript let info = { name: "Alex", skill: ["git", "react", "read"], }; let started = (info: any) => { let { name, skill } = info; (name = "Alex Pool"), skill.push("delete"); return { name, skill, online: true, }; }; ``` Explain what the function `started` does with the `info` object and describe the output of calling `started(info)`. Also, discuss if the original `info` object is mutated after calling `started(info)`.

Middle

Have you configured CI/CD pipelines, linters, prettier, pre-commit hooks — did you do it yourself or was it assigned from above?

Middle

What is the pseudo-array arguments? How does it differ from a regular array?

Middle

What is React Reconciliation? How does it work? What criteria does React use to decide whether to update or remount a component?

Middle

function recursiveFunction(N) { let counter = 0; if (N > 0) { counter = counter + 1; recursiveFunction(N - 1); } // console.log(counter) } recursiveFunction(3); // 3 3 3 ? Explain what the output of the function will be and why. Also, identify any issues with the current implementation of the recursive function and suggest how to fix it to correctly count and log the number of recursive calls.

Middle

Tell me about the event loop: what is it for, how does it work?

Middle
Сбермаркетинг - company overview - sobes.tech