Trilha pública de Coding

Perguntas de coding interview e live coding para software engineer

Descubra perguntas reais de coding interview e live coding para treinar solução, clareza, complexidade e comunicação durante a entrevista.

Perguntas nessa trilha
650

Pratique live coding, complexidade, casos de borda e clareza.

Buscar dentro de Coding

Se quiser, refine esse recorte com um termo específico sem sair da trilha atual.

Refinar busca
Escopo da busca
Coding
Temas dentro dessa trilha

Recortes mais específicos para estudar com foco

Coding

Perguntas para priorizar no seu treino agora

Esse recorte reúne perguntas públicas desse tipo para acelerar sua preparação com mais contexto e menos ruído.

Netflix
Amazon
Microsoft
Oracle
+5
CodingSenior

Leetcode 146. LRU Cache

Implement an LRUCache that supports O(1) average-time get(key) returning the value or -1 and put(key, value) which inserts or updates a key and, if capacity is exceeded, evicts the least-recently-used key. The core challenge is maintaining key-value storage together with recency ordering to enable constant-time access, updates, and eviction.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

9 empresas
Ver detalhes
Palantir
Microsoft
Meta
Amazon
+3
CodingSenior

Leetcode 253. Meeting Rooms II

Given a list of meeting time intervals, determine the minimum number of conference rooms required so that no meetings overlap. The core challenge is computing the maximum number of concurrent intervals (e.g., via sorting with a min-heap of end times or a sweep-line of start/end events).

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

7 empresas
Ver detalhes
Meta
Apple
LinkedIn
Google
+3
CodingStaff+

Leetcode 20. Valid Parentheses

Check whether a string of parentheses/brackets is valid by ensuring every closing bracket matches the most recent unmatched opening bracket and the types and nesting order are correct. This is typically solved by tracking openings (e.g., with a stack) and verifying matching pairs.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

7 empresas
Ver detalhes
NVIDIA
Gusto
OpenAI
Apple
+2
CodingStaff+

Leetcode 981. Time Based Key-Value Store

Design a time-based key-value store that records multiple values per key with timestamps and returns the value whose timestamp is the largest <= the queried timestamp. With timestamps per key strictly increasing and up to 2e5 operations, the typical solution uses per-key ordered timestamp/value lists and binary search to find the floor timestamp efficiently.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

6 empresas
Ver detalhes
DoorDash
Apple
Meta
Amazon
+2
CodingSenior

Leetcode 210. Course Schedule II

Given numCourses and prerequisite pairs, return any ordering of courses that satisfies all prerequisites or an empty array if impossible — this is essentially computing a topological sort of a directed graph and detecting cycles.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

6 empresas
Ver detalhes
Oracle
Meta
Amazon
TikTok
+2
CodingMid-level

Leetcode 200. Number of Islands

Count the number of islands (4-directionally connected components of '1's) in an m×n binary grid. This is a connected-components/flood-fill problem typically solved with DFS/BFS or Union-Find in O(mn) time (m,n ≤ 300).

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

6 empresas
Ver detalhes
Meta
Amazon
Google
Oracle
+1
CodingMid-level

Leetcode 347. Top K Frequent Elements

Given an integer array and k, return the k most frequent elements — the core challenge is to count element frequencies and extract the top-k efficiently (better than O(n log n)), typically using a frequency map combined with a min-heap (O(n log k)) or bucket sort (O(n)).

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

5 empresas
Ver detalhes
Meta
Canva
Amazon
LinkedIn
+1
CodingMid-level

Leetcode 236. Lowest Common Ancestor of a Binary Tree

Given a binary tree and two nodes p and q, find their lowest common ancestor — the deepest node that has both p and q as descendants (a node can be a descendant of itself). The tree can be large (up to 2e5 nodes), nodes are unique and p and q are guaranteed to exist.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

5 empresas
Ver detalhes
DoorDash
Meta
Salesforce
Datadog
+1
CodingMid-level

Leetcode 124. Binary Tree Maximum Path Sum

Find the maximum sum of any non-empty connected path in a binary tree (nodes used at most once), where the path can start and end at any nodes and node values may be negative. You must account for single-node paths when all values are negative.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

5 empresas
Ver detalhes
DoorDash
Cloudflare
Uber
Meta
+1
CodingMid-level

Leetcode 207. Course Schedule

Given courses as nodes and prerequisite pairs as directed edges, determine whether the directed graph is acyclic — return true if a topological ordering exists (all courses can be completed), otherwise false if a cycle prevents completion.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

5 empresas
Ver detalhes
Meta
Amazon
Squarespace
Microsoft
CodingSenior

Leetcode 88. Merge Sorted Array

Given two sorted arrays nums1 and nums2 and counts m and n (nums1 has length m+n with its last n slots free), merge the elements into nums1 in non-decreasing order in-place. Aim for an O(m + n) solution that uses the available buffer rather than returning a new array.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Meta
Amazon
Atlassian
Google
CodingStaff+

Design a File Search and Directory Traversal System

Design and implement a file search system that can traverse directory structures and locate files based on various criteria. The solution should incorporate object-oriented programming principles, support extensible filtering mechanisms, and be optimized for performance. Consider implementing algorithms like DFS or BFS for traversal, and discuss scalability considerations for adding new search filters and optimizations such as byte-level operations.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
LinkedIn
Uber
Microsoft
Meta
CodingMid-level

Leetcode 53. Maximum Subarray

Find the contiguous subarray within an integer array that yields the maximum possible sum and return that sum. This is typically solved in O(n) with Kadane's algorithm (with an alternative divide-and-conquer approach as a follow-up).

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Google
Snowflake
Amazon
Bloomberg
CodingMid-level

Leetcode 212. Word Search II

Given an m×n letter grid and a list of words, find all words that can be formed by sequentially adjacent (horizontal/vertical) non-repeating cells. The core challenge is efficiently searching many candidate words on the board using DFS/backtracking with prefix pruning (e.g., a Trie) to handle up to 12×12 boards and tens of thousands of words.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Meta
Snowflake
Oracle
Amazon
CodingMid-level

Leetcode 23. Merge k Sorted Lists

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Meta
Palantir
Apple
Atlassian
CodingMid-level

Leetcode 353. Design Snake Game

Simulate a Snake game on an m×n grid supporting move(direction): the snake advances, grows when it eats sequentially placed food (increasing score), and the game ends on collision with walls or the snake's own body. Candidates should track the snake body and occupied cells efficiently for frequent moves (e.g., deque + hash set) and handle food lookup and collision checks.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Salesforce
Meta
Google
Snowflake
CodingMid-level

Leetcode 2050. Parallel Courses III

Given a DAG of course prerequisites where each course has a duration and any number of courses can run in parallel once prerequisites are satisfied, compute the minimum time to finish all courses. This is the classic longest-path/critical-path problem on a node-weighted DAG — compute each course's earliest completion time as max(completion times of prerequisites) + its duration.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Meta
Oracle
Microsoft
Amazon
CodingSenior

Leetcode 62. Unique Paths

Count the number of distinct monotonic paths from the top-left to the bottom-right of an m×n grid when you may only move right or down. This is the classic lattice-path problem — the answer equals binomial coefficient C(m+n-2, m-1) (or can be computed with DP); m,n ≤ 100 and result ≤ 2·10^9.

O que treinar

Estruture solução, trade-offs e complexidade com clareza.

4 empresas
Ver detalhes
Empresas com cobertura

Onde coding já apareceu

Guias complementares

Leituras que aprofundam esse tipo de entrevista

Use esses guias para ganhar repertório e depois volte para praticar com perguntas reais dessa trilha.

Adições recentes

Novidades nessa trilha

Recente
CodingMid-level

Codility technical assessment with Go backend, React frontend, and SQL database tasks

Technical challenge for Sezzle Mid II role, delivered on Codility. The assessment had three parts: a backend problem in Go, a frontend problem in React, and a database problem in SQL. Backend and SQL were reported as easier; the React/frontend task was comparatively more demanding.

1 empresa
Recente
CodingMid-level

Read data from an API and perform operations on it

Onsite interview for SWE2/backend around 2023. Coding round involved reading data from an API and performing operations/transformations on the returned data; useful prep focus: API consumption, data parsing, correctness, edge cases, and clean implementation.

Brex
1 empresa
Recente
CodingSenior

Minimum number of Airbnb Experiences to exactly fill an X-hour layover

Live coding 2. Given experience durations and total layover hours (all with at most 1 decimal place), return the minimum number of experiences needed to sum exactly to X, or -1 if impossible. Experiences may repeat; use exactly all hours. Maps to unbounded coin change (minimum coins) after scaling durations by 10 to avoid float errors. Examples: [3.0,2.0], 7.0 -> 3; [1.5,3.5,6.0], 15.5 -> 3; [6.0,7.0], 15.0 -> -1.

Airbnb
1 empresa
Recente
CodingSenior

Repeat the capped queue/list implementation and fix intentionally broken edge-case tests

Live coding/technical interview (1h) for Senior Software Engineer, Data Platform. Re-implement the take-home idea and fix intentionally broken edge-case tests. Evaluation emphasized reading exceptions and failed tests, locating failures, code comprehension, and syntax fluency under pressure.

Glacier
1 empresa
Recente
CodingStaff+

Airbnb Superstar Hosts: aggregate listings by host and return hosts with >=3 listings, avg rating >=4.5, and >=90% recent reviews

Coding round. Given ratings records with host_id, listing_id, rating, days_last_review and timestamp, identify Superstar Hosts: at least 3 listings, average rating across all listings >= 4.5, and >= 90% of reviews across the host's listings left within the past 30 days. Return the host_id values.

Airbnb
1 empresa
Recente
CodingSenior

Parse URL query parameters with flags and array values

Coding interview. Implement a function that receives a full URL and returns a map of query params. Level 1: parse basic key=value pairs separated by '&' after '?'. Level 2: params without values become boolean flags set to true. Level 3: comma-separated values become arrays. Follow-ups: duplicate keys, empty query strings, URL decoding, invalid formats, time/space complexity, and clean extensible design.

Airbnb
1 empresa
Recente
CodingMid-level

Restaurant grid with a delivery zone count

Live coding de 45 minutos sobre o problema de BFS

Uber
1 empresa
Recente
CodingSenior

Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit

Coding round 1. LeetCode: https://leetcode.com/problems/longest-continuous-subarray-with-absolute-diff-less-than-or-equal-to-limit/

Uber
1 empresa

Continue explorando perguntas de Coding

No app você continua essa busca com filtros mais precisos, compara empresas e abre mais perguntas parecidas.