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

SDE - Intern

Goodspace
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I started my DSA journey in the second year of my graduation. I solved questions on coding platforms and participated in contests, solving over 1000 DSA questions in total. However, DSA is not the only path to crack a company, so I also studied computer fundamentals like OOP, DBMS, OS, and CN. Since most startups focus on development skills, I built some projects in web development using the MERN stack.
Application story
I applied through campus recruitment and completed an online assessment with several questions about data structures and algorithms (DSA), which I managed to solve within the allotted time. Following that, I was shortlisted for an assignment based on a MERN live chat app and then shortlisted for a one-on-one interview.
Preparation
Duration: 20 months
Topics: Data Structure, OOP, DBMS, Computer Networks, Operating System, Reactjs, MongoDB, NodeJs, SQL
Tip
Tip

Tip 1: Be consistent in solving DSA questions daily (aim for 500 questions overall).
Tip 2: Try to solve a question on your own before looking at the solution.
Tip 3: To learn development, don’t just watch tutorials—build as many projects as you can.

Application process
Where: Campus
Eligibility: No criteria, (Salary Package - 7 LPA)
Resume Tip
Resume tip

Tip 1: Build quality projects that go beyond basic clone apps or to-do lists.
Tip 2: Participate in hackathons or contribute to open-source projects.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration100 minutes
Interview date23 Dec 2023
Coding problem3

1. Find First and Last Position of Element in Sorted Array

Easy
20m average time
80% success
0/40
Asked in companies
Tech MahindraInfosysAmazon

You are given a non-decreasing array 'arr' consisting of 'n' integers and an integer 'x'. You need to find the first and last position of 'x' in the array.


Note:
1. The array follows 0-based indexing, so you need to return 0-based indices.
2. If 'x' is not present in the array, return {-1 -1}.
3. If 'x' is only present once in the array, the first and last position of its occurrence will be the same.


Example:
Input:  arr = [1, 2, 4, 4, 5],  x = 4

Output: 2 3

Explanation: The given array’s 0-based indexing is as follows:
 1      2     4     4     5
 ↓      ↓     ↓     ↓     ↓
 0      1     2     3     4

So, the first occurrence of 4 is at index 2, and the last occurrence of 4 is at index 3.
Try solving now

2. Sum Paths

Moderate
30m average time
70% success
0/80
Asked in companies
GoogleAdobeJosh Technology Group

You are given a binary tree with 'N' nodes. Each node has an integer value associated with it. You are also given an integer 'Target'. Your task is to determine the total number of different paths such that the sum of values of nodes in each path equals 'Target'.

Note :

A path may or may not start at the root of the tree. A path may or may not end on a leaf node. You are allowed to travel only downwards. This means after visiting any node, you are allowed to visit only its children.
Try solving now

3. Course Schedule II

Hard
50m average time
50% success
0/120
Asked in companies
AppleUberPhonePe

You have been given ‘N’ courses and some courses may have prerequisites. Now consider a matrix ‘PREREQUISITES’ of size 'M' x 2 which represents that you must complete the course 'PREREQUISITES[i][1]' before the course 'PREREQUISITES[i][0]'.


Your task is to return the order of courses you should take to finish all courses.


Note:
If it is impossible to finish all courses, return an empty array. If there are multiple answers, return any one.


For example:
Input:
3 2
1 2
2 3

There are three courses to take. To start with, First course 3 is taken. Then course 2 is taken for which course 3 must be completed. 

At last course 1 is taken for which course 2 must be completed. So the correct course order is [3,2,1].    
Try solving now
02
Round
Medium
Online Coding Interview
Duration2 days
Interview date29 Dec 2023
Coding problem0
Web problem/projects1

1. Real-Time Chat Application

Develop a real-time chat application with camera and microphone integration, leveraging
OpenAI's API, Socket.io, and MongoDB. The app will feature text-to-speech and speech-to-text
capabilities.

Initialize a new MERN (MongoDB, Express.js, React.js, Node.js) project.
Install required npm packages: Express, Socket.io, Mongodb, Openai, and additional libraries
for text-to-speech and speech-to-text services.
Set up a Figma-based UI design for the application, including camera and microphone controls.

Backend Development:
Set up an Express server.
Configure Socket.io for real-time communication.
Integrate MongoDB for chat history storage.
Create endpoints for OpenAI API communication.
Implement text-to-speech and speech-to-text services.

Frontend Development:
Develop a React-based frontend according to the Figma design.
Implement camera and microphone functionality with enable/disable options.
Ensure real-time chat display and interaction.
Integrate Socket.io client for seamless server communication.

03
Round
Easy
Face to Face
Duration25 minutes
Interview date2 Jan 2024
Coding problem4

1. Project Discussion

Can you explain how Socket.io facilitates real-time communication in your chat application? What are some key features it provides for managing connections and broadcasting messages?

2. Project Discussion

How did you integrate OpenAI's API into your application? Can you describe a specific use case where the AI features (like text-to-speech or speech-to-text) enhance the user experience?

3. Project Discussion

What considerations did you take into account when designing the MongoDB schema for storing chat history? How did you ensure efficient retrieval and storage of messages?

4. Project Discussion

How did you implement camera and microphone functionality in the chat application? What challenges did you face regarding user permissions and how did you address them?

Here's your problem of the day

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

Skill covered: Programming

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4152 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6195 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3097 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2658 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15155 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
14997 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9977 views
2 comments
0 upvotes