i
Pine Labs
Filter interviews by
I applied via Referral and was interviewed in Jan 2024. There were 2 interview rounds.
Find k closest elements in an array
Sort the array based on the absolute difference between each element and the target element
Return the first k elements from the sorted array
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
REST API is a standard way of building web services, while Kafka is a distributed streaming platform for handling real-time data feeds.
REST API is used for building web services that follow the REST architectural style
Kafka is used for handling real-time data feeds and building real-time data pipelines
REST API is synchronous, while Kafka is asynchronous and can handle high throughput and low latency data streams
What people are saying about Pine Labs
I appeared for an interview before Dec 2020.
Round duration - 90 minutes
Round difficulty - Medium
The round consisted of 3 coding Questions and 20 Technical MCQs.
Given a number of ropes denoted as 'N' and an array containing the lengths of these ropes, your task is to connect the ropes into one single rope. The cost to connect two r...
The task is to find the minimum cost required to connect all the ropes by summing their lengths.
Iterate through the ropes and connect the two shortest ropes at each step to minimize cost
Use a priority queue to efficiently find the shortest ropes
Keep track of the total cost as you connect the ropes
Example: For input [4, 3, 2, 6], connect 2 and 3 (cost 5), then connect 4 and 5 (cost 9), then connect 9 and 6 (cost 15) for
Determine if a given N * N matrix is an idempotent matrix. A matrix is considered idempotent if it satisfies the following condition:
M * M = M
The first line cont...
Check if a given matrix is idempotent by verifying if M * M = M.
Iterate through the matrix and multiply it with itself to check if it equals the original matrix.
If the condition M * M = M is satisfied, then the matrix is idempotent.
If the condition is not satisfied, then the matrix is not idempotent.
Given an integer 'N', calculate and print the sum of the least common multiples (LCM) for each integer from 1 to N with N.
The sum is represented as:LCM(1, N) + LCM(2, N) + ....
Calculate and print the sum of least common multiples (LCM) for each integer from 1 to N with N.
Iterate from 1 to N and calculate LCM of each number with N
Add all the calculated LCM values to get the final sum
Return the sum for each test case
Round duration - 120 minutes
Round difficulty - Medium
This round is a Long Coding Round. Every Candidate was assigned with a mentor who guides them, We were given a real-life scenario for which we have to construct a database with required tables. We should draw an ER Diagram to demonstrate the Database. After the Database Completion, We have to Start Coding the Application. The Design(like Placing the button or background colour) is not given much importance. They mainly test the practical knowledge of candidates in OOPS and expertise in a C, C++, Java, Android or any other language were OOPS Concepts can be applied.
Round duration - 180 Minutes
Round difficulty - Medium
This Round is a technical Interview. I was asked Questions to test my Technical Knowledge.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while iterating through the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity of the algorithm should be O(N) where N is the size of the array.
Round duration - 20 Minutes
Round difficulty - Easy
Tip 1 : Do Atleast 2 Projects
Tip 2 : Be Strong in what you have in your resume
Tip 3 : Be Confident and Polite
Tip 1 : Keep it Short to one or two pages
Tip 2 : Keep it standout..as it is what projects you uniquely.
I applied via Naukri.com and was interviewed before Dec 2022. There were 4 interview rounds.
Basic Math and English Questions
I applied via Referral and was interviewed in Apr 2024. There were 2 interview rounds.
Program to find 2 biggest numbers in array of strings
Iterate through the array and convert each element to integer
Keep track of the two biggest numbers found so far
Return the two biggest numbers at the end
posted on 14 Feb 2024
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There were 3 interview rounds.
Easy - Medium questions
posted on 27 Oct 2023
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
I applied via Campus Placement
Low-level design interview
I need to design a Music player app using oops concept
Use an additional stack to store sorted elements and maintain the minimum element at the top of the original stack.
Create a new stack to store sorted elements.
Pop elements from the original stack and compare with the top element of the new stack.
If the popped element is smaller, push it to the new stack. If larger, keep popping from the new stack and push to the original stack until the correct position is found.
Repeat...
A process is an instance of a program running on a computer, while a thread is a smaller unit of execution within a process.
A process has its own memory space, while threads within the same process share memory.
Processes are independent of each other, while threads within the same process can communicate with each other.
Processes are heavyweight, requiring separate memory and resources, while threads are lightweight an...
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class is used to provide a common base for multiple derived classes, while interface is used to define a contract fo...
A race condition is a situation in which the outcome of a program depends on the order of execution of its threads or processes.
Occurs when multiple threads or processes access shared data or resources concurrently
Can lead to unpredictable behavior or bugs in the program
Prevented by using synchronization mechanisms like locks or semaphores
Example: Two threads trying to increment a shared variable simultaneously
Normalization in DBMS is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a database into smaller, more manageable tables.
It helps in reducing data redundancy by storing data in a structured way.
There are different normal forms like 1NF, 2NF, 3NF, BCNF, etc.
Example: In a database of students, instead of storing student details in multiple ...
I applied via Walk-in and was interviewed in Sep 2023. There were 3 interview rounds.
An aptitude has exam used to determine an individual skills a given activity
based on 2 interviews
Interview experience
based on 15 reviews
Rating in categories
Assistant Manager
393
salaries
| ₹2.8 L/yr - ₹12 L/yr |
Software Engineer
321
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Deputy Manager
188
salaries
| ₹4.6 L/yr - ₹15 L/yr |
Area Sales Manager
176
salaries
| ₹4.5 L/yr - ₹16.5 L/yr |
Senior Software Engineer
168
salaries
| ₹8.6 L/yr - ₹33.4 L/yr |
Paytm
SBI Cards & Payment Services
Axis Direct
Kotak Securities