0 day streak

Pine Labs coding interview questions

FintechProduct India Machine coding / LLD

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Missing NumberMissing / Repeated Numbers Easy Bit Manipulation Microsoft, Nvidia, Palantir +29 Solve
Reverse StringTwo Pointer Easy Arrays & Hashing Nvidia, Snowflake, Electronic Arts +37 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
Subarrays with K Different IntegersSliding Window · Hash Map Hard Arrays & Hashing Roblox, Adobe, ServiceNow +10 Solve
Majority ElementMoore's Voting Algorithm Easy Arrays & Hashing Bloomberg, Instacart, Autodesk +18 Solve
Balanced Binary TreePostorder + Multiple Return Values Easy Trees & BST Netflix, Anduril, Juniper Networks +3 Solve
Kth Largest Element in an ArrayTop K / Kth Largest / Smallest Medium Heaps Amazon, Meta, Apple +51 Solve
Search a 2D Matrix2D Binary Search + Step Search Medium Binary Search Microsoft, Nutanix, Goldman Sachs +9 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Google, Microsoft, Airbnb +43 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +60 Solve
Jump Game IIGreedy Medium Arrays & Hashing Google, DoorDash, Nutanix +25 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Find K Closest ElementsBisect Medium Binary Search DoorDash, Asana, Coupang +7 Solve
Longest Common SubsequenceStrings Medium Dynamic Programming Google, Amazon, Apple +20 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Left View of Binary TreeViews Easy Trees & BST Stripe, Electronic Arts, Zynga +10 Solve
Online Stock SpanMonotonic Stack Medium Monotonic Stack Bloomberg, Rakuten, VMware by Broadcom +5 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List LinkedIn, Airbnb, Akamai +26 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Agoda, Akamai, Zynga +22 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve
Also reported, being added to AlgoRung (5)

Double a Number Represented as a Linked List · Maximum Occurring Character · Sort an Array of 0s and 1s · Nth Highest Salary · Sort a Stack

Questions people ask

What coding questions does Pine Labs ask most?

Missing Number, Reverse String, Longest Substring Without Repeating Characters, Subarrays with K Different Integers, Majority Element, Balanced Binary Tree, Kth Largest Element in an Array, Search a 2D Matrix.

Which topics come up in Pine Labs coding rounds?

arrays, strings, sliding window, trees, linked list, heaps.

How hard are Pine Labs coding questions?

Of the reported questions, 9 are easy, 10 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.