Interview questions
Find a company or topic. Read the sources, then practice.
Loading the question library…
Find a company or topic. Read the sources, then practice.
Loading the question library…
Showing 1,301–1,325
Given a matrix representing a Go board with the following types: '' - empty, 'w' - white, 'b' - black, return a final score for…
Companies: Meta
Last reported Aug 2024
Determine whether a given 32-bit integer n is a power of two (i.e., n == 2^x for some integer x), returning false for non-positive values…
Companies: Meta
Last reported Aug 2024
Given a binary grid of land and water cells, find the number of islands (4-directionally connected components of land cells) after making at most one…
Last reported Aug 2024
Count the number of length-goal sequences using n distinct songs such that every song appears at least once and a song can be replayed only…
Companies: Google, ServiceNow
Combinatorics · Dynamic Programming · Math
Last reported Jul 2024
Companies: Databricks
Last reported Jul 2024
Given an API for lower-level hard disk management, implement APIs for storing, retrieving, and error-correcting data in a higher-level storage device composed of three of…
Companies: Jane Street
Last reported Jul 2024
Solve this impossible leetcode hard problem that involves figuring out an alogrithms that can crack any RSA encryption in O(1) time. All jokes aside, it…
Companies: Snap
Last reported Jun 2024
Companies: Jane Street
Last reported May 2024
Companies: Airbnb
Last reported Apr 2024
Companies: Snap
Last reported Mar 2024
Companies: Anthropic
Last reported Nov 2023
Companies: LinkedIn
Last reported Oct 2023
Companies: Netflix
Last reported Oct 2023
Companies: Snap
Last reported Aug 2023
Companies: OpenAI
Last reported Feb 2023
Companies: Airbnb
Last reported Feb 2023
Companies: LinkedIn
Last reported Jan 2023
Given sorted stone positions and an initial jump of 1, determine whether a frog can reach the last stone when each jump length must be…
Companies: Google
Last reported Nov 2022
Companies: Netflix
Last reported Oct 2022
Companies: Airbnb
Last reported Apr 2022
Companies: Airbnb
Last reported Mar 2022
Companies: Airbnb
Last reported Sep 2021
Companies: Airbnb
Last reported Aug 2021
Companies: Airbnb
Last reported Feb 2021
Companies: Airbnb
Last reported Feb 2020