Skip to content
Interview Bank
SeniorTechnical193 views

Lamoda Tech interview

Questions6

  1. // There is a slice of integers, need to write a function that returns a slice of the same size, // where at each i-th position will be the product of all elements except the i-th // [1, 2, 3] => [2*3, 1*3, 1*2] => [6, 3, 2] package main import ( "fmt" ) func MultOther(in []int) []int { }

    Screenshot
  2. Implement a function in Go for parallel processing of HTTP requests to a list of URLs with a limit on the number of concurrent requests (worker pool pattern). The result should contain response codes in the same order as the input URLs. Additionally, implement caching to avoid repeated requests to the same URLs.

    Text
  3. CREATE TABLE customer ( id INTEGER PRIMARY KEY, email VARCHAR(100) NOT NULL, country CHAR(2) NOT NULL ); CREATE TABLE cart_item ( id INTEGER PRIMARY KEY, customer_id INTEGER NOT NULL, title VARCHAR(20) NOT NULL, amount INTEGER NOT NULL, price INTEGER NOT NULL ); customer --------- 1, [email], ru 2, [email], ru 3, [email], ru 4, [email], by cart_item --------- 1, 1, пиво, 6, 100 2, 1, вода, 2, 50 3, 2, печенье, 1, 75 4, 2, сок, 2, 60 // Вывести топ-10 клиентов (id, email, cost) по общей стоимости товаров в корзине select c.id, c.email, cart.cost from cart_item cart inner join customer c on c.id = cart.customer_id order by cart.cost desc limit 10

    Screenshot

3 more questions from this interview

A subscription opens every question, and Copilot suggests answers live during your Lamoda Tech interview.

Sign in to unlock

Summarized questions based on candidates' accounts. These materials do not represent the official position of the companies and do not disclose internal processes. If you believe a publication violates your rights — contact us.