
Real Interview Questions for the Software Engineer at Logitech
NewPractice MCQs
Answers count toward the Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A C++17 device driver stores a handle to a calibration object in a struct. The driver must later rebind that member to a different calibration object, and must also be able to mark it empty when no device is present. Which member type should the struct use?
Answer to see the discussion.
MCQ-2A C service allocates a 64-byte buffer with `malloc` in `make_buffer`, returns it to the caller, and the caller frees it on shutdown. The shutdown path runs twice after a reconnect, calling `free(buf)` both times without clearing `buf`. What should the shutdown path do to avoid undefined behaviour?
Answer to see the discussion.
MCQ-3A sensor node samples an accelerometer at 1000 Hz on an MCU with 8 KB SRAM and no RTOS. Flash writes block for 20 ms while the main loop handles radio traffic, and no sample may be dropped or jittered. How should the firmware move samples from the sensor to storage?
Answer to see the discussion.
MCQ-4A firmware helper receives `head` pointing to `1 -> 2 -> 3 -> 4` and must reverse it in place iteratively. The loop keeps `prev`, `curr`, and `next`, and must return the new head without losing any node. Which update order completes one iteration correctly?
Answer to see the discussion.
MCQ-5A device searches sorted `a = [10, 20, 30, 40, 50]` for the first element at least 40, using `lo = 0`, `hi = 4`, and `while lo < hi` with `mid = (lo + hi) / 2`. When `a[mid]` is already at least 40, which update keeps that element as a candidate?
Answer to see the discussion.
MCQ-6A C helper is declared `void make(int *p)` and assigns `p = malloc(sizeof(int))` inside. The caller passes its own `int *q`, initially NULL, and then dereferences `q` after the call. What is the state of `q` after the call?
Answer to see the discussion.
MCQ-7A C module builds `int **t` with `malloc`, allocates rows 1 to rows-1 with `malloc`, and sets row 0 to a static calibration buffer that must not be freed. At shutdown it must release the heap allocations. Which freeing sequence releases them without freeing static storage?
Answer to see the discussion.
MCQ-8Four million webcams run firmware 3.0. Version 3.1 was withdrawn after boot failures rose from a 0.1% baseline to 0.8%, and 3.2 fixes that bug. Devices have A/B slots and roll back to the previous slot on failed boots. Which rollout plan detects a repeat of the 3.1 failure without exposing the fleet?
Answer to see the discussion.
MCQ-9A fleet of 4 million wireless devices reports battery percentage every 2 minutes. The dashboard must show current levels within a minute, operations needs hourly trend resolution for 13 months and raw detail for the first week, and alerts must fire only after a low reading persists for 10 minutes. Which retention design fits?
Answer to see the discussion.
MCQ-10Logitech's store expects 10x traffic for a Black Friday flash sale, with 500 units of a headset and thousands of concurrent checkouts. Payment takes about two seconds and can fail after inventory is checked, and many abandoned sessions never return. Which reservation timing and expiry prevents overselling without stranding stock?
Answer to see the discussion.
MCQ-11A mouse driver receives press events indefinitely at 1000 Hz and must flag a double-click when two presses occur within 400 ms and 5 pixels, using a fixed 2 KB state buffer. It cannot retain the full event history. Which state should it retain to detect the gesture?
Answer to see the discussion.
MCQ-12A product catalog holds 10 million items and must return the K=10 smallest Manhattan distances for a user preference vector. Memory allows storing only K candidates plus constant overhead, and the service must finish in one pass over the catalog. Which selection method should the implementation use?
Answer to see the discussion.
MCQ-13A catalog service filters 200,000 products by tag sets for a storefront query. The query requires `wireless` and `ergonomic` and excludes `RGB` and `wired`, and the tag index is already built as posting lists per tag. Which filtering strategy returns the correct products fastest?
Answer to see the discussion.
MCQ-14An MX Master disconnects for 2 seconds several times an hour while Logi Options+ runs. Its logs show RSSI and battery voltage steady, disconnects occur 1-2 seconds after each Options+ battery poll, and they stop when polling is disabled in a test build. What is the most likely cause to investigate first?
Answer to see the discussion.
MCQ-15A software engineer applying to Logitech has spent five years on Bluetooth Low Energy firmware for battery-powered peripherals, tuning latency and power draw. The hiring team works on wireless mice and keyboards, where 1 ms polling and multi-month battery life are core constraints. Which product category should the candidate name as the best fit?
Answer to see the discussion.
MCQ-16A headset team freezes codec A in March because codec B's interference benchmark is unavailable; A meets all launch requirements. June field data shows B lasts 6 hours longer, but the interference benchmark is still unavailable and the next hardware revision starts in January. Which lesson should the post-launch review record?
Answer to see the discussion.
MCQ-17A Logitech conference camera ships in six weeks. At high volume its mic picks up speaker echo only on units from one factory batch, while another batch runs the same firmware and DSP without echo. Firmware, DSP, and hardware each blame another layer and propose a different fix. What decomposition should the lead use to resolve it before the deadline?
Answer to see the discussion.
MCQ-18FPS players on a wireless gaming mouse report 30-hour battery life at the high polling rate they need for fast flicks, and want multi-day use without exceeding 65 grams. The team must prototype one innovation that preserves flick latency while extending runtime. Which prototype should it build first?
Answer to see the discussion.
MCQ-19A headset SDK's `GET /v1/devices/{id}` returns `battery_percent` to 200 partner apps pinned to that exact path. Their generated SDKs parse only the JSON body and ignore response headers, and updated clients must show `battery_health` alongside percent on that same call. Which evolution should the team ship?
Answer to see the discussion.
Curated: · Written: · Reviewed: