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 2,851–2,875
Companies: Jane Street
leetcode medium questions (strings... etc) past project walkthrough
Companies: LinkedIn
Companies: Jane Street
Companies: NVIDIA
Companies: Jane Street
Companies: Apple
Given a social graph where each user has a set of friends, identify pairs or top-K users whose friend lists are highly similar (e.g., large…
General practice
For each index, compute the absolute difference between the sum of elements to its left and the sum to its right; this is typically solved…
General practice
Simulate the queue and use a greedy approach with counters for $5 and $10 bills to determine if you can give correct change to each…
General practice
Given a string of letters and spaces, return the length of its last word (a maximal non-space substring). Account for possible trailing spaces by locating…
General practice
Given a strictly increasing array of positive integers, find the length of the longest subsequence (not necessarily contiguous) that is Fibonacci-like — i.e., every element…
General practice
Find the maximum-length contiguous subarray of nums such that every distinct element appears at most k times. This is a sliding-window / frequency-counting problem on…
General practice
Find the maximum length of a diagonal path in an n×m grid of {0,1,2} that starts at a 1 and then follows the alternating sequence…
General practice