Kotak 811— First round by Bar-raiser React native interview experience

VijayKumar S C
2 min readOct 27, 2023

--

I will share my experience during the first round of interviews for a position that focused on React Native, data structures, and project contributions. The interview began with the classic “Introduce yourself” question, but what followed was a fascinating journey through my project experience and a deep dive into React Native development.

Introduce yourself: The interview started in a familiar way with the common “Introduce yourself” question. I took this as an opportunity to briefly discuss my background and the projects I had worked on. It set the stage for the technical discussions that followed.

Project Contributions: One of the key aspects of the interview was a discussion of my project contributions. The interviewer asked me to delve into one of my projects and explain how I had contributed to its development. This allowed me to showcase my practical experience and highlight my problem-solving skills.

Data Structures Challenge: Given the arrival time and departure time of trains, I needed to find the number of platforms required.

Time given 15–20 minutes, I took around 15+ minutes

I gave the solution as below. And explained him the time complexity for the code.

function findMinimumPlatforms(arrival, departure) { 
// Sort the arrival and departure times in ascending order
arrival.sort((a, b) => a - b);
departure.sort((a, b) => a - b);
let platformsRequired = 1; // At least one platform is needed
let maxPlatforms = 1; let i = 1; // Pointer for arrival times
let j = 0; // Pointer for departure times
while (i < arrival.length && j < departure.length) {
if (arrival[i] <= departure[j]) { // If a train is arriving before or at the same time as one is leaving
platformsRequired++;
i++;
if (platformsRequired > maxPlatforms) {
maxPlatforms = platformsRequired;
}
} else { // If a train is leaving, we free up a platform
platformsRequired - ;
j++;
}
}
return maxPlatforms;
}

React native Challenge :

The highlight of the interview was the React Native challenge. I was asked to develop a basic note-taking app using CodeSandbox. The task included adding notes, deleting notes, and displaying all the notes in a list. The interviewer checked my usage of essential React Native concepts like useEffect and useState hooks, also checked my ability to implement tasks in react native.

I did not finish the implementation fully, however interviewer was interested in checking my react native skills like usage of hooks, FlatList. Then he came up with follow up questions like how to optimise flatlist and what are the options available to store.

Some other basic questions on react native were asked :

Difference between useCallback and useMemo.
Functional components and class components

Conclusion: The first-round interview was an insightful experience that tested my knowledge of React Native, data structures, and my ability to contribute to projects.
Overall good experience, i will be soon posting next round experience as well.

Next round interview experience can be read here.

Thanks for reading!!

--

--

VijayKumar S C

Senior Software Engineer - React native , Android, Frontend and Backend with springboot