i
Lam Research
Filter interviews by
posted on 31 May 2021
I applied via Recruitment Consultant and was interviewed before May 2020. There were 4 interview rounds.
Top trending discussions
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
Chart diagram from Given Test Scenario
Algo on Image Comparison
Maths, reasoning, puzzles
Dsa, algorithms, trees
I applied via campus placement at Motilal Nehru Institute National Institute of Technology (NIT), Allahabad and was interviewed in Jun 2023. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jul 2023. There were 2 interview rounds.
Section wise cutoff was there
I was interviewed in Sep 2021.
Round duration - 60 minutes
Round difficulty - Medium
Standard Data Structures and Algorithms round . One has to be fairly comfortable in solving algorithmic problems to pass this round with ease.
Naive Solution :
A simple solution is to traverse each element and check if there’s another number in the array which can be added to it to give sum.
TC : O(n^2)
SC : O(1)
Efficient Solution (Using Hashing ) :
We create an empty hash table. Now we traverse through the array and check for pairs in the hash table. If a matching element is found, we print the pair number of times equal to the number of occurrences of the...
Approach 1 : Naive Recursive Approach
A naive approach is to start from the first element and recursively call for all the elements reachable from first element. The minimum number of jumps to reach end from first can be calculated using minimum number of jumps needed to reach end from the elements reachable from first.
minJumps(start, end) = Min ( minJumps(k, end) ) for all k reachable from start
TC : O(n^n)
SC : O(n)
Appr...
Round duration - 70 minutes
Round difficulty - Medium
This round was preety intense and went for over 1 hour . I was asked 2 preety good coding questions (one was from Graphs and the other one was from DP) . After that I was grilled on my Computer Networks and Operating System concepts but luckily I was able to answer all the questions and the interviewer was also quite impressed.
Algorithm :
1) Create a graph such that there is a edge between each pair of enemies.
2) We need to find that the above graph is bipartite or not. Check whether the graph is 2-colorable or not
3) We can do that by running dfs and using an auxilary array col to store the assigned col of the node.
4) If we can color the graph with two color such that no two enemies have same color then only we can create two teams.
TC : O(V+E...
Approach 1 (Using DP ) :
Observe that , If a chain of length k ends at some pairs[i], and pairs[i][1] < pairs[j][0], we can extend this chain to a chain of length k+1
Steps :
1) Sort the pairs by first coordinate, and let dp[i] be the length of the longest chain ending at pairs[i].
2) When i < j and pairs[i][1] < pairs[j][0], we can extend the chain, and so we have the candidate answer dp[j] = max(dp[j], dp[i] + 1...
Explain TCP/IP Protocol
1) TCP or TCP/IP is the Transmission Control Protocol/Internet Protocol.
2) It is a set of rules that decides how a computer connects to the Internet and how to transmit the data over the network.
3) It creates a virtual network when more than one computer is connected to the network and uses the three ways handshake model to establish the connection which makes it more reliable.
Explain DHCP Protocol
1) DHCP is the Dynamic Host Configuration Protocol.
2) It is an application layer protocol used to auto-configure devices on IP networks enabling them to use the TCP and UDP-based protocols.
3) The DHCP servers auto-assign the IPs and other network configurations to the devices individually which enables them to communicate over the IP network.
4) It helps to get the subnet mask, IP address and helps to resolve the DNS. I
What is meant by Multitasking and Multithreading in OS?
Multitasking : It refers to the process in which a CPU happens to execute multiple tasks at any given time. CPU switching occurs very often when multitasking between various tasks. This way, the users get to collaborate with every program together at the same time. Since it involves rapid CPU switching, it requires some time. It is because switching from one user to another might need some resources. The processes in m...
Round duration - 60 minutes
Round difficulty - Hard
This round majorly focused on past projects and experiences from my Resume and some standard System Design + LLD questions + some basic OOPS questions which a SDE-2 is expected to know .
Design Pastebin
Approach :
Pastebin allows users to store text-based data over the internet for a set period of time and generate a unique URL corresponding uploaded data to share that with anyone. Users who create that data, can also modify it by logging in to the same account.
Database Schema :
i) users(userID, name, createdAT, metaData)
ii) paste(pasteID, content, URL, createdAt, expiryAt)
Algorithm :
1) create_paste(api_key, content, ex...
What is Data Abstraction and how to achive it ?
1) Data abstraction is a very important feature of OOPs that allows displaying only the important information and hiding the implementation details.
2) For example, while riding a bike, you know that if you raise the accelerator, the speed will increase, but you don’t know how it actually happens.
3) This is data abstraction as the implementation details are hidden from the rider.
Data abstraction can be achieved through:
What is Diamond Problem in C++ and how do we fix it?
The Diamond Problem : The Diamond Problem occurs when a child class inherits from two parent classes who both share a common grandparent class i.e., when two superclasses of a class have a common base class.
Solving the Diamond Problem in C++ : The solution to the diamond problem is to use the virtual keyword. We make the two parent classes (who inherit from the same grandparent class) into virtual classes in order to a...
What are Friend Functions in C++?
1) Friend functions of the class are granted permission to access private and protected members of the class in C++. They are defined globally outside the class scope. Friend functions are not member functions of the class.
2) A friend function is a function that is declared outside a class but is capable of accessing the private and protected members of the class.
3) There could be situations in programming wherein we w...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 3 Sep 2021
I was interviewed in Aug 2021.
I was interviewed before May 2021.
Round duration - 90 Minutes
Round difficulty - Medium
DS, ALgo & Operating systems.
What is a race condition?
Took an example of a transaction, explained how the results can be different based on the order of execution of the instructions.
Difference between mutex and semaphore?
Very important question, asked a lot in interviews.
I started with a while loop kind of program. The interviewer tried to run some corner cases as well but
my code was correct. So he asked me to optimize it further since it was taking O(logn). Then he made me write binary values for 4,8,12 and after that, he said can u deduce some logic from this? Then I
found the correct logic. He was very happy with this.
Round duration - 100 Minutes
Round difficulty - Medium
Focus on projects, Computer Architecture.
Round duration - 30 Minutes
Round difficulty - Easy
Tip 1 : Work on fundamentals of C, focus more on reading standard text like The C programming language by DR.
Tip 2 : Operating Systems is a must, use either galvin or tanenbaum.
Tip 3 : Focus on DS Like linked list, trees, stacks , queues and arrays.
Tip 1 : Include Operating system, computer architecture
Tip 2 : Include projects related to IOT
Senior Buyer
51
salaries
| ₹9 L/yr - ₹16 L/yr |
Senior Engineer Mechanical
50
salaries
| ₹9 L/yr - ₹20.5 L/yr |
Senior Software Engineer
50
salaries
| ₹8.5 L/yr - ₹26 L/yr |
Senior Electrical Engineer
40
salaries
| ₹9.5 L/yr - ₹20 L/yr |
Program Manager
35
salaries
| ₹10.7 L/yr - ₹36 L/yr |
Applied Materials
KLA
ASML
Entegris