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

React Native developer

Insta Astro
upvote
share-icon
2 rounds | 15 Coding problems

Interview preparation journey

expand-icon
Application story
The company aimed to quickly assess multiple candidates in a single session. Instead of extending the process over several days or weeks, they chose an efficient approach by conducting all necessary rounds in one day. This method is generally faster and more convenient for both the employer and the candidates, as it eliminates the need for candidates to return on different days and allows them to potentially receive a decision by the end of the day.
Preparation
Duration: 3 months
Topics: Problem-solving using recursion, divide-and-conquer, greedy, and dynamic programming techniques. Understanding advanced concepts such as graph algorithms. Mastering SQL queries and understanding the principles of database normalization, indexing, transactions, and ACID properties.
Tip
Tip

Tip 1: Create personal projects or contribute to open-source projects. Applying your skills to real-world scenarios deepens your understanding and enhances your practical problem-solving abilities.

Tip 2: Analyze code written by experienced developers. Doing so helps you understand various coding styles, best practices, and efficient algorithms.

Tip 3: Join coding contests on coding platforms. Participating in these contests sharpens your problem-solving skills and trains you to think under pressure.

Application process
Where: Linkedin
Eligibility: B-tech (all branch), (Salary Package: 4.2 LPA)
Resume Tip
Resume tip

Tip 1: Avoid including false information in your resume.

Tip 2: Be thoroughly prepared to discuss the details of your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date22 May 2024
Coding problem7

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Try solving now

2. Longest Substring Without Repeating Characters

Moderate
20m average time
80% success
0/80
Asked in companies
Morgan StanleyAmazonWalmart

Given a string 'S' of length 'L', return the length of the longest substring without repeating characters.

Example:

Suppose given input is "abacb", then the length of the longest substring without repeating characters will be 3 ("acb").
Try solving now

3. React Native Question

What is the default layout system in React Native?
A. Grid Layout
B. Flexbox
C. Float-based Layout
D. CSS Grid

4. React Native Question

Which library is commonly used for navigation in React Native?
A. React-Router
B. React-Native-Navigator
C. React-Navigation
D. React-Router-Native

5. CSS Question

What is the default value of the position property in CSS?
A) static
B) relative
C) absolute
D) fixed

6. React Native Question

Which component is used to create a scrollable container in React Native?
 

7. React Native Question

What is the purpose of SafeAreaView in React Native?
A. To create a responsive layout
B. To avoid overlapping with device notches and status bars
C. To handle scrolling
D. To optimize app performance

02
Round
Medium
Face to Face
Duration60 minutes
Interview date22 May 2024
Coding problem8

1. Missing Number

Moderate
30m average time
70% success
0/80
Asked in companies
HSBCSterlite Technologies LimitedSamsung

You are given an array/list ‘BINARYNUMS’ that consists of ‘N’ distinct strings which represent all integers from 0 to N in binary representation except one integer. This integer between 0 to ‘N’ whose binary representation is not present in list ‘BINARYNUMS’ is called ‘Missing Integer’.

Your task is to find the binary representation of that ‘Missing Integer’. You should return a string that represents this ‘Missing Integer’ in binary without leading zeros.

Note

1. There will be no leading zeros in any string in the list ‘BINARYNUMS’.

Example:

Consider N = 5 and the list ‘binaryNums’=  [“0”, “01”, “010”, “100”, “101”].  This list consists of the binary representation of numbers [0, 1, 2, 4, 5]. Clearly, the missing number is 3 and its binary representation will be “11”. So you should return string “11”.
Try solving now

2. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
RazorpayMorgan StanleyUber

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Try solving now

3. DBMS

What are the different types of joins in SQL? Explain with examples. (Learn)

4. System Design

Design a simple file system that handles file storage, file retrieval, and directory management. The system should allow basic file operations such as creating, reading, writing, and deleting files. Additionally, it should support directory creation and listing the contents of a directory.

5. React Native Hooks

What is the purpose of useEffect and useState hooks in React Native?

6. React Question

You are given a FlatList in React Native that renders an array of numbers. However, when the user taps on an item, the list should reverse its order, and the tapped item should also be highlighted (e.g., by changing its background colour).

7. React Question

Which file contains the entry point of a React Native application?

8. React Question

What is the purpose of the useMemo hook in React Native? (Learn)

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
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes