Performance and debugging
599 practice items · needed by 24 roles
Easy 98Medium 250Hard 251
Practice questions
- Inspecting an API responseeasy
- Invisible text while fonts loadeasy
- Smaller image fileseasy
- What useMemo is foreasy
- What useCallback returnseasy
- Finding which component is sloweasy
- Splitting off a heavy admin pageeasy
- Showing 5,000 contacts in React Nativeeasy
- Tool for finding leakseasy
- Detached DOM nodeseasy
- Debounce vs throttle for searchmedium
- position: sticky does not stickmedium
- Serving AVIF with a fallbackmedium
- Images that push content downmedium
- Order of async scriptsmedium
- Loading the hero image soonermedium
- A preloaded font downloaded twicemedium
- Why a big CSS file delays first paintmedium
- A print stylesheet and render blockingmedium
- will-change on everythingmedium
- A slow loop that resizes cardsmedium
- Using transition: allmedium
- Attaching data to DOM nodesmedium
- Loading a chart library on clickmedium
- Passive touch listenersmedium
- Expensive initial statemedium
- useMemo that recomputes every timemedium
- useCallback that changes nothingmedium
- A slow page from one hover statemedium
- Rendering 20,000 rowsmedium
- Where to split a bundle firstmedium
- A store hook that re-renders too oftenmedium
- What the React Compiler doesmedium
- A tab switch that freezes the pagemedium
- The memo compare functionmedium
- A big form that re-renders on each keymedium
- Leak through a closuremedium
- Timer survives the componentmedium
- Caching data per DOM elementmedium
- Removing many listeners at oncemedium
- Why React.memo did not helphard
- Ellipsis that never truncates in Flexboxhard
- Effect that fetches foreverhard
- Comparator that returns a booleanhard
- Detecting the end of a listhard
- A very long page that renders slowlyhard
- A hover shadow that drops frameshard
- Loading five font weightshard
- Closure holding a big arrayhard
- Progress bar that never moveshard
- ArrayBuffer after transferhard
- Relying on FinalizationRegistryhard
- Time with a concurrency limithard
- Breaking up a long taskhard
- A transition around typinghard
- A huge bundle from one helperhard
- Heavy work in useLayoutEffecthard
- Jumping to row 3,000 in a FlatListhard
- Animation stutters while data loadshard
- One slow field in a big formhard
- Estimating a leakhard
- Leak from a global listenerhard
- What a 504 from Nginx meanseasy
- Slow email during signupeasy
- Python default list surpriseeasy
- What EXPLAIN tells youeasy
- Asking for only a few fieldseasy
- Building a long string in a loopeasy
- Checking if any rows existeasy
- Checking a key by its valueeasy
- Latency versus throughputeasy
- The N+1 query problemmedium
- Offset or cursor paginationmedium
- Two awaits that could run togethermedium
- A 64-bit id changes after parsingmedium
- Index ignored for lower(email)medium
- Benefit of INCLUDE in an indexmedium
- Fine average, unhappy usersmedium
- Docker rebuild reinstalls everythingmedium
- Async callback inside forEachmedium
- A query answered from the index alonemedium
- A list page loads huge rowsmedium
- Importing 100,000 rows slowlymedium
- A slow aggregation pipelinemedium
- 500 Redis calls per requestmedium
- One huge key slows Redismedium
- Average read time with a 90% hit ratiomedium
- Kadane on all-negative numbersmedium
- Coin change when the amount cannot be mademedium
- Cache key that forgets an argumentmedium
- All results come out emptymedium
- Bug in a parent-child BST checkmedium
- Bug in a root-to-leaf path summedium
- When to mark a node as visited in BFSmedium
- A JavaScript BFS that gets slowmedium
- Flood fill with the same colourmedium
- Changing a key after putting it in a setmedium
- Caching data per object without leaksmedium
- Joining two lists in memorymedium
- Array or map for counting small integersmedium
- Finding p95 from 20 timingsmedium
- Pods restart every few hoursmedium
- Why look at p99 latencymedium
- Cache stampede on a hot keyhard
- One slow route freezes Node.jshard
- Connection pools and autoscalinghard
- NOT IN with a NULL in the listhard
- Table bloat that VACUUM will not fixhard
- Work continues after the client gives uphard
- Trusting a Bloom filter answerhard
- Index for the few pending rowshard
- Inserts slow down with UUID keyshard
- return versus return await in tryhard
- Pool exhausted during paymentshard
- Concurrent requests from throughputhard
- Every page load counts 80 million rowshard
- Kadane returns 0 for all negativeshard
- Removing items while looping forwardhard
- Bug in a minimum length windowhard
- Binary search that never endshard
- One counter row slows every salehard
- A bad query takes the database downhard
- A Lua script stalls every clienthard
- Deleting old log rows every nighthard
- A query with 20,000 ids in IN (...)hard
- Memo that never hits in JavaScripthard
- A memo cache in a long-running serverhard
- Edit distance on two large fileshard
- Bug in a grid word searchhard
- Fixing a BST with two swapped keyshard
- Visited set for a 5000 × 5000 gridhard
- Kahn’s algorithm hangs on duplicate edgeshard
- Word counts that break on "constructor"hard
- Prefix count updated too earlyhard
- Bug in an at-most-two-distinct windowhard
- Avoiding resize pauses in a HashMaphard
- Array or map for sparse large IDshard
- Deleting from a dict while loopinghard
- Hedging slow requestshard
- Empty req.body in Expresseasy
- Comparing a column to NULLeasy
- Measuring speed in dev modeeasy
- The N+1 query problemmedium
- Caching hashed static filesmedium
- Three awaits, three times slowermedium
- ETag and If-None-Matchmedium
- One report slows every requestmedium
- Fewer manual memosmedium
- Component that touches windowmedium
- Cache expiry takes down the databasehard
- NOT IN returns no rowshard
- Network calls on the main threadeasy
- Testing speed on a debug buildeasy
- App Not Responding dialogeasy
- NetworkOnMainThreadExceptioneasy
- ListView.builder for a long feedeasy
- Why React Native uses Hermeseasy
- Cold start versus warm starteasy
- Loading images in a feedeasy
- Out of memory with imagesmedium
- const constructors in Fluttermedium
- Activity stored in a ViewModelmedium
- What Impeller changesmedium
- Remote images flicker on scrollmedium
- console.log in production buildsmedium
- What triggers an ANRmedium
- Sorting inside bodymedium
- Images reload while scrollingmedium
- Too many recompositionshard
- Jank when parsing a big JSONhard
- Slow cold starthard
- When a Swift array is copiedhard
- derivedStateOf for a scroll buttonhard
- Animation stutters while JS is busyhard
- Memoized rows still re-renderhard
- Child list never skipshard
- Recomposing on every scroll pixelhard
- Reading the performance overlayhard
- A spinner repaints the whole screenhard
- Fading a widget cheaplyhard
- shrinkWrap lists inside a scroll viewhard
- Photo grid uses too much memoryhard
- Heavy work during a screen transitionhard
- Reading the React Native perf monitorhard
- Fixed-height rows in a Flutter listhard
- App killed during a slow launchhard
- Speeding up first launch on Androidhard
- App killed in the background on iOShard
- Wrong photo in a reused cellhard
- Spawning many bulletseasy
- GetComponent every frameeasy
- Health ratio is always zeroeasy
- Why games pool objectseasy
- Seeing why AI behaves oddlyeasy
- Many sprites, many draw callseasy
- Batching rocks that never moveeasy
- Normalising a zero vectoreasy
- Frame budget at 60 FPSeasy
- What one draw call iseasy
- Why meshes use index bufferseasy
- Finding why a mesh is invisibleeasy
- Drawing a full-screen passeasy
- Too many draw callsmedium
- Garbage in Updatemedium
- UObject pointer gets destroyedmedium
- Error after enemy is destroyedmedium
- Memory keeps growing with Addressablesmedium
- Thousands of detailed treesmedium
- Drawing rooms behind wallsmedium
- Shader build time explodedmedium
- Many identical rocksmedium
- Is the game CPU or GPU boundmedium
- Raycast ignores the Ground layermedium
- Textures use too much memory on mobilemedium
- Timer text slows the whole HUDmedium
- Rotation reads back as 350medium
- Each enemy checks every other unitmedium
- Checking an object's tagmedium
- Finding the player every framemedium
- Hitches when firing a minigunmedium
- Every skin loads at startupmedium
- Finding garbage in the Profilermedium
- Small Blueprint loads the whole bossmedium
- Explosion query creates garbagemedium
- Deep Profile timings look wrongmedium
- Memory for a 2048 texturemedium
- What 4x MSAA multipliesmedium
- Cost of static batchingmedium
- Different colours per instancemedium
- Open world texture memorymedium
- What temporal upscalers domedium
- Holding frame rate in busy scenesmedium
- Load and store actions on mobilemedium
- Why command buffers help threadingmedium
- Branches that cost both waysmedium
- Measuring one pass on the GPUmedium
- GPU-bound on mobile with particleshard
- Why ECS can be fasterhard
- Running out of memory in a large levelhard
- Job safety system errorhard
- Thousands of tiny temporary allocationshard
- Main menu loads the whole gamehard
- Alpha-tested foliage on mobilehard
- Stutter the first time an effect appearshard
- Angle between vectors is NaNhard
- Two hundred animated charactershard
- Checking collisions among 5,000 objectshard
- Why ECS iteration is fasthard
- Clustered objects in a spatial structurehard
- Many short-lived allocations per framehard
- Rendering while the simulation updateshard
- Rollback is too slowhard
- Updating 100,000 particles fasterhard
- Mesh memory is twice what you expecthard
- Memory for a 2K RGBA32 texturehard
- Smoke effects drop FPS on phoneshard
- Memory of a 4K render texturehard
- Frame budget at 90 Hzhard
- Thousands of actors checking every Tickhard
- Hitch when equipping a weaponhard
- Same texture in two bundleshard
- Gfx.WaitForPresent in the Profilerhard
- Static batching uses too much memoryhard
- Phone gets slower after 10 minuteshard
- Fill rate for heavy overdrawhard
- Hundreds of small lights in forwardhard
- Size of a G-bufferhard
- Discard makes opaque slowerhard
- Is the frame GPU-boundhard
- Virtualised geometry like Nanitehard
- Frame time spikes on readbackhard
- Benefit of bindless textureshard
- Dense meshes shade slowlyhard
- Vertex shader runs too oftenhard
- Seeing why a Foundry test failedeasy
- What lives in flash and SRAMeasy
- SWD compared with JTAGeasy
- Byte order of a 32-bit valueeasy
- Saving RAM with a lookup tableeasy
- Choosing a FreeRTOS heap schemeeasy
- Tasks with no heap at alleasy
- Checking how much stack a task usedeasy
- Turning on configASSERTeasy
- Catching out-of-heap errorseasy
- Checking Zephyr thread stack useeasy
- I2C device not respondingmedium
- SPI returns garbagemedium
- Work done before mainmedium
- Sleep current high only under debugmedium
- Board hangs without the debuggermedium
- Why did the field unit rebootmedium
- Deleted tasks leak memorymedium
- Measuring CPU use per taskmedium
- CPU load from run-time statsmedium
- Seeing task switches over timemedium
- Allocation fails with free memory leftmedium
- Heap across two RAM banksmedium
- Calling malloc from several tasksmedium
- Task crashes after adding printfmedium
- Logging inside a fast ISR in Zephyrmedium
- Isolating an untrusted taskmedium
- Limiting a Zephyr thread to its own memorymedium
- Avoiding malloc after start-upmedium
- Measuring task switch timemedium
- Spotting a stuck taskmedium
- Random HardFaultshard
- Works at -O0, fails at -O2hard
- Slow maths on a Cortex-M4Fhard
- Jitter in a control loop ISRhard
- Timing an ISR in CPU cycleshard
- Finding the line that faultedhard
- Imprecise bus fault addresshard
- Catching stack overflow with the MPUhard
- Task reads garbage from a main localhard
- What stack overflow checking catcheshard
- Seeing queue contents in a debuggerhard
- Crash after adding a large local in mainhard
- Catching thread stack overflow in Zephyrhard
- Allocating memory from a Zephyr ISRhard
- Calling pvPortMalloc in an ISRhard
- Debugger shows only one call stackhard
- Logs from a crashed containereasy
- 502 vs 504 errorseasy
- Seeing why a Pod is not startingeasy
- ImagePullBackOff from a private registrymedium
- Exit code 137medium
- Helm says another operation is in progressmedium
- df says full, du says notmedium
- Service with zero endpointsmedium
- Checking a ServiceAccount permissionmedium
- Debugging a container with no shellmedium
- Events gone the next morningmedium
- Throttled at 30 percent CPUhard
- Slow external DNS in Podshard
- Java Pod OOMKilled with free heaphard
- App fails every hour on DB authhard
- Restart delay in CrashLoopBackOffhard
- Why put a CDN in front of a siteeasy
- Lambda memory and CPUeasy
- Latency vs bandwidtheasy
- Reducing serverless cold startsmedium
- AccessDenied from a VPC endpoint policymedium
- Intermittent 502s behind an ALBmedium
- Logs from a crashed containermedium
- Pod stuck Pending: Insufficient cpumedium
- Container exit code 137 OOMKilledmedium
- Slow Docker builds after every changemedium
- Lambda in a VPC cannot reach an APImedium
- Prometheus memory explosionmedium
- Reading VPC Flow Logs for a NACL issuemedium
- How traceroute finds each hopmedium
- Refused vs timed outmedium
- Bandwidth-delay productmedium
- Throughput capped by the windowmedium
- Capturing one host's HTTPS trafficmedium
- Counting TCP states on a servermedium
- A steady 40 ms delay on small writesmedium
- Testing a new server before the DNS switchmedium
- Head-of-line blocking in TCPmedium
- Ping by name fails, ping by IP worksmedium
- Following DNS delegation with digmedium
- Works in Chrome, fails in curlmedium
- Reusing connections to a backendmedium
- DynamoDB throttling under the limithard
- CDN cache hit ratio of 4 percenthard
- Disk latency spike during nightly batchhard
- App writes to old primary after failoverhard
- Slow pods at 30% CPUhard
- Small pages load, big ones hanghard
- Why a lost SYN costs a second or morehard
- How loss limits TCP throughputhard
- One link full, three idlehard
- Latency jumps when someone uploadshard
- Choppy calls with good average latencyhard
- HTTP/3 on lossy mobile networkshard
- Some users still see the old certificatehard
- Slow first loads after adding serviceshard
- A process vanished overnighteasy
- CrashLoopBackOffeasy
- Logs from the crashed containereasy
- Which column of free to trusteasy
- The wa figure in topeasy
- Where kernel messages appeareasy
- What swap is used foreasy
- Top memory users with pseasy
- Per-disk busy time and latencyeasy
- Finding what fills /vareasy
- A server with almost no free RAMeasy
- The real line from timeeasy
- Listing units that failedeasy
- A good latency SLIeasy
- Percentiles vs average latencymedium
- p99 latency across all instancesmedium
- No space left, but disk is not fullmedium
- Deleted the log, space not freedmedium
- Reading vmstat outputmedium
- Exit code 137 in Kubernetesmedium
- Reading a slow tracemedium
- Timeouts with a healthy databasemedium
- Too many open files errormedium
- Seeing what a process has openmedium
- Script works by hand, fails in cronmedium
- More CPU time than elapsed timemedium
- Reading 40% iowaitmedium
- High st on a cloud VMmedium
- Low total CPU, slow servicemedium
- Which process is hammering the diskmedium
- Which config file is it readingmedium
- What vm.swappiness controlsmedium
- Dropping caches to free memorymedium
- Major and minor page faultsmedium
- Which function burns the CPUmedium
- CPU usage at 3 AM yesterdaymedium
- Databases and transparent huge pagesmedium
- Finding a crash dumpmedium
- Transfers capped at 11 MB/smedium
- Calculating Apdexmedium
- One SLI for success and speedmedium
- Combining percentiles from many servershard
- Tail latency with fan-outhard
- Coordinated omissionhard
- Misleading histogram quantileshard
- Go service OOMKilled under loadhard
- Listen queue overflowshard
- A process kill -9 cannot stophard
- Memory cost of forkhard
- Protecting a process from the OOM killerhard
- Bad interpreter with a ^Mhard
- RSS adds up to more than RAMhard
- %util at 100% on an NVMe drivehard
- Packet loss at one middle hophard
- Uneven speed on a two-socket serverhard
- Writes freeze for seconds at a timehard
- malloc succeeded, then OOM killhard
- Container memory near its limithard
- Reading /proc/pressure/memoryhard
- Slow, but the flame graph looks calmhard
- Latency improves under loadhard
- RAM used but no process owns ithard
- Memory held by kernel slab cacheshard
- Start request repeated too quicklyhard
- SSH works, big transfers hanghard
- p99 per window vs a ratiohard
- Deleting 5 crore old rowseasy
- Sizing shared_buffersmedium
- WAL volume spikes after checkpointshard
- Indexes bloat on a counter tablehard
- OOM killer after raising work_memhard
- Inserting 10,000 rows one commit eachhard
- Queue length at a hot rowhard
- Where to look first in an outagemedium
- Expected starting loss, 10 classeseasy
- Tensors on different deviceseasy
- Spotting vanishing gradientseasy
- Double versus float errormedium
- Overfit one batch firstmedium
- Slow first step after torch.compilemedium
- Loss jumps at each epoch startmedium
- Checking a gradient numericallymedium
- Loss suddenly jumps to infmedium
- Setting cudnn.benchmark = Truemedium
- Reading a layer's outputmedium
- Layers in a plain Python listhard
- Memory for fp32 Adam traininghard
- MSE loss that never improveshard
- Multi-GPU job that hangs foreverhard
- Making prompt caching workmedium
- What streaming improveshard
- Where generation time goeshard
- Estimating response timehard
- How speculative decoding helpshard
- A huge text column with few valuesmedium
- A slow row-wise applymedium
- Building a long string in a loopmedium
- Memory report far below real usehard
- Does np.vectorize make code fasthard
- Memory saved by a smaller integer typehard
- What p99 latency meanseasy
- Pod stuck in CrashLoopBackOffeasy
- Average latency looks fineeasy
- Service health basicseasy
- Why track time to first tokeneasy
- Latency and throughputeasy
- What TTFT measureseasy
- Gap between streamed tokenseasy
- Concurrent requests at peakmedium
- Fleet-wide p99 from many podsmedium
- Timing a GPU operationmedium
- Memory coalescingmedium
- If-else inside a warpmedium
- Low occupancy in a kernelmedium
- Why GELU and adds are memory-boundmedium
- Odd layer sizes run slowlymedium
- Finding the slow part of a stepmedium
- Gaps in the GPU timelinemedium
- Logging slows the training loopmedium
- How DDP hides communicationmedium
- Training hangs with no errormedium
- Scaling efficiency on 8 GPUsmedium
- Slow first CUDA call on bare metalmedium
- Reading a PromQL latency querymedium
- Setting a latency SLOmedium
- GPU idle while CPU is maxedmedium
- Cross-encoder reranker is slowmedium
- Small model leaves the GPU idlemedium
- Tail latency at low CPU usagehard
- More threads, no extra throughputhard
- Arithmetic intensity of c = a + bhard
- Arithmetic intensity of a big matmulhard
- Time for one elementwise passhard
- Time for a 4K matmulhard
- Computing MFU for a training runhard
- One GPU is slower than its peershard
- Error points to the wrong linehard
- Device-side assert in cross-entropyhard
- Overlapping host-to-device copieshard
- Time to all-reduce 7B gradientshard
- Multi-node job runs at PCIe speedhard
- One node's link runs at half speedhard
- Data prep and compute in sequencehard
- Bug appears only on some nodeshard
- Combining quantiles across servershard
- Upper bound on single-stream speedhard
- Why batching raises decode throughputhard
- Estimating prefill timehard
- Where 4-bit weights speed things uphard
- Slow first token for Dubai usershard
- When decode stops being memory-boundhard
- Why a 100K prompt is so slowhard
- Latency explodes near full loadhard
- What p95 latency meanseasy
- What TTFT measureseasy
- Guardrails adding latencymedium
- Making a slow reply fasterhard
- Caching and time to first tokenhard
- Finding the slow visualeasy
- A refresh that pulls the whole tablemedium
- A timestamp column bloating the modelmedium
- Speeding up a ranking querymedium
- A DirectQuery table visual errors outhard
- Fast summaries over a DirectQuery facthard
- A matrix that suddenly shows every producthard
- Why the model recalculates slowlyhard
- Fast lookup on a million rowshard
- Model slows down after adding data tableshard
- A slow filter on a window viewhard
- One partition takes all the timehard
- Five windows, five sortshard
- Partitioning a big tableeasy
- Turning on producer compressioneasy
- Finding the slow part of a jobeasy
- Fast count of unique visitorseasy
- What causes a shufflemedium
- When to cache in Sparkmedium
- How Parquet skips datamedium
- Queries slow on a streaming tablemedium
- One 40 GB gzip CSVmedium
- A repeated query returns instantlymedium
- How Snowflake skips datamedium
- A dashboard that aggregates every minutemedium
- Redshift sort key for date filtersmedium
- Distributing a small dimensionmedium
- Filtering on a non-partition columnmedium
- Raising linger.msmedium
- Lag grows behind a slow sinkmedium
- Raising fetch.min.bytesmedium
- One client slows the clustermedium
- One task takes foreverhard
- Millions of tiny fileshard
- Cutting warehouse scan costhard
- A slow Python UDF in PySparkhard
- Distinct users on billions of rowshard
- Clustering for two filter columnshard
- Choosing a Redshift DISTKEYhard
- Sensors blocking every workerhard
- A query that spills to remote storagehard
- What a thread dump revealsmedium
- Reading a flame graphmedium
- A Node.js API stalls under loadhard
- Using the trace viewereasy
- Screenshots on failureeasy
- Stepping through a failing testeasy
- StaleElementReferenceExceptionmedium
- Debugging a CI-only failuremedium
- Slow dependency install in CImedium
- Retries hiding a real bughard
- "Scratch disks are full"hard
- Stopping the jump when fonts swaphard
- Preloading every font filehard
- Variable or two static fileshard
- Headline that reflows after loadhard
- Seeing where content moveseasy
- Seeing vitals while browsingeasy
- Testing INP on a fast laptopmedium
- Finding the cause in real-user datamedium
- Observing slow interactionshard
- Timing a specific elementhard
- Finding what shiftedhard
- Conversions fell after a redesignhard