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

Software Engineer

Incode
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I joined my B.Tech program after taking the JEE exam. At first, I was unaware of coding, but after two years, my seniors told me it was the only way to get into big companies. Then, I started practising coding from different websites.
Application story
This company visited our campus for placement. It allowed the first to take an online assessment and, on that basis, make the selection.
Why selected/rejected for the role?
I was rejected because I could not solve the last question asked in the second round.
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, OOPs, DBMS, SQL, Web Development
Tip
Tip

Tip 1: Do not rush into things. Learning takes time.

Tip 2: Focus on understanding concepts thoroughly instead of leaving topics half-prepared. Devote 70% of your time and effort to DSA.

Tip 3: Do not repeat similar questions just to increase the count.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1: Clear and Concise Format: Keep your resume well-organized and easy to read. Use clear headings and bullet points to highlight key information. Ensure a consistent and professional font throughout the document. Limit your resume to one or two pages, focusing on the most relevant and impactful information.

Tip 2: Customize Your Resume: Tailor your resume for each job application. Analyze the job description and incorporate relevant keywords and skills into your resume. Highlight your experiences, accomplishments, and skills that align with the specific role you're applying for.

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date9 Jun 2023
Coding problem2

1. Heap Sort

Easy
15m average time
85% success
0/40
Asked in companies
AdobeExpedia GroupAmazon

You are given an array ‘ARR’ consisting of 'N' integers, and your task is to sort the given array in non-decreasing order using the Heap sort algorithm.

Try solving now

2. Maximum Subarray Sum

Moderate
35m average time
81% success
0/80
Asked in companies
HCL TechnologiesInformaticaSamsung

You are given an array 'arr' of length 'n', consisting of integers.


A subarray is a contiguous segment of an array. In other words, a subarray can be formed by removing 0 or more integers from the beginning and 0 or more integers from the end of an array.


Find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.


The sum of an empty subarray is 0.


Example :
Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]

Output: 11

Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date9 Jun 2023
Coding problem2

1. Reverse List In K Groups

Hard
15m average time
85% success
0/120
Asked in companies
SAP LabsSamsungIBM

You are given a linked list of 'n' nodes and an integer 'k', where 'k' is less than or equal to 'n'.


Your task is to reverse the order of each group of 'k' consecutive nodes, if 'n' is not divisible by 'k', then the last group of nodes should remain unchanged.


For example, if the linked list is 1->2->3->4->5, and 'k' is 3, we have to reverse the first three elements, and leave the last two elements unchanged. Thus, the final linked list being 3->2->1->4->5.


Implement a function that performs this reversal, and returns the head of the modified linked list.


Example:
Input: 'list' = [1, 2, 3, 4], 'k' = 2

Output: 2 1 4 3

Explanation:
We have to reverse the given list 'k' at a time, which is 2 in this case. So we reverse the first 2 elements then the next 2 elements, giving us 2->1->4->3.


Note:
All the node values will be distinct.


Try solving now

2. Check Bipartite Graph

Moderate
50m average time
50% success
0/80
Asked in companies
UberWalmarteBay

Given a graph, check whether the graph is bipartite or not. Your function should return true if the given graph's vertices can be divided into two independent sets, ‘U’ and ‘V’ such that every edge (‘u’, ‘v’) either connects a vertex from ‘U’ to ‘V’ or a vertex from ‘V’ to ‘U’.

You are given a 2D array ‘edges’ which contains 0 and 1, where ‘edges[i][j]’ = 1 denotes a bi-directional edge from ‘i’ to ‘j’.

Note:
If edges[i][j] = 1, that implies there is a bi-directional edge between ‘i’ and ‘j’, that means there exists both edges from ‘i’ to ‘j’ and to ‘j’ to ‘i’.

For example

Given:
‘N’ = 3
‘edges’ = [[0, 1, 1], [0, 0, 1], [0,0,0]]. 

Try solving now

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
Software Engineer
3 rounds | 6 problems
Interviewed by Incode
348 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Incode
323 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Incode
390 views
0 comments
0 upvotes
Software Developer
3 rounds | 7 problems
Interviewed by Incode
317 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes