Cometchat interview experience Real time questions & tips from candidates to crack your interview

Trainee Engineer

Cometchat
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
My preparation journey began by strengthening the fundamentals of JavaScript and TypeScript, since they form the backbone of React Native development. I focused on mastering core concepts such as asynchronous programming (Promises, async/await), closures, scope, event loop, and modern ES6+ features. Once confident in JavaScript, I shifted focus to React, where I learned functional components, hooks (useState, useEffect, useMemo, useCallback), and the component lifecycle. I also explored React Navigation, Redux Toolkit, and Context API to manage state and handle screen transitions in mobile apps. For React Native specifically, I gained hands-on experience by building multiple projects, where I worked on: Native modules & bridging (when required) Performance optimization (lazy loading, memoization, FlatList optimizations) Offline-first design using AsyncStorage Handling push notifications, deep linking, and permissions In terms of backend integration, I worked with Axios and REST APIs, implemented authentication flows using Firebase and custom JWT-based backends, and practiced database interactions with Firebase Firestore and MongoDB (via Node.js/Express). Finally, to prepare for interviews, I focused on: Practicing DSA problems Solving React Native-specific coding challenges Studying key interview topics like performance tuning, app architecture, component communication, testing (Jest, React Native Testing Library), and debugging Reviewing system design principles relevant to mobile apps (scalable architecture, caching, and security)
Preparation
Topics: React Native, DSA, Performance tuning, App architecture, Testing (Jest, React Native Testing Library), and Debugging
Application process
Where: Coding Ninjas Placement Cell
Eligibility: NA, (Salary package: 4.5 LPA)

Interview rounds

01
Round
Medium
Online Coding Interview
Duration
Interview date25 Apr 2025
Coding problem1

1. React Core Concepts & Hooks

  1. What is a variable, and what are the differences between different types of variables (e.g., var, let, const) in JavaScript?
  2. How can you update state in React by using a callback function?
  3. What is useCallback? How does it work internally, when should you use it, when should you avoid it, and can you give an example?
  4. What is useMemo? How does it work internally, when should you use it, when should you avoid it, and can you give an example?
  5. What is useEffect? How can we handle side effects in React using useEffect — with a dependency array, without a dependency array, and with an empty dependency array?
02
Round
Hard
Online Coding Interview
Duration
Interview date28 Apr 2025
Coding problem2

1. Find the Missing Number in an Array

You are given an array of integers ranging from 1 to n. The numbers are in random order, and exactly one number is missing in the sequence. Write a function to find the missing number without sorting the array.

Example:
Input: [3, 7, 1, 2, 8, 4, 5]
Output: 6

Problem approach

Step 1: Calculate the total sum of 1 to N. by using (n * (n + 1)) / 2 

Step 2: Iterate over the array and Substract the current number from totalSum 

Step 3: Return the totalSum, which is nothing but the missing number

2. React Concepts and Component Behavior Interview Questions

  1. Normal Variables vs State: What is a normal variable and how is it different from state in React?
  2. Updating State with Callback: How can you update state using a callback function?
  3. useCallback: How does useCallback work internally? When should you use it and when not? Can you give an example?
  4. useMemo: How does useMemo work internally? When should you use it and when not? Can you give an example?
  5. useEffect: How can you handle side effects in React using useEffect? Explain with dependency array, without dependency array, and with an empty dependency array.
  6. Key in React: How do keys work in React? Why are they important, and where should you use them?
  7. FlatList: How does FlatList work? Explain key props, inverted FlatList, and data manipulation.
  8. ScrollView: How does ScrollView work? When should you use it over FlatList?
  9. View and Text: Explain layout using Flexbox in React Native. Discuss default direction, justifyContent, alignItems, etc.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Trainee Engineer
3 rounds | 6 problems
Interviewed by CIS - Cyber Infrastructure
950 views
0 comments
0 upvotes
company logo
Trainee Engineer
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
593 views
0 comments
0 upvotes
company logo
Trainee Engineer
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
654 views
0 comments
0 upvotes