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

Software Engineer

Inspirisys
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

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

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration50 minutes
Interview date8 Nov 2022
Coding problem2

Interviewer was friendly. The attendees were given two coding questions

1. Largest cake

Moderate
10m average time
90% success
0/80
Asked in companies
OlaInspirisys

Ram on his birthday ordered a cake which is in the shape of a histogram such that cake is divided into ‘N’ bars and each bar width equal to one. The height of each bar is known.

Since it’s his birthday, so he wants to eat the maximum of the cake, but he can have the cake only once and in rectangle shape. Help him find the area of the largest rectangle in the cake.

You will be given an array/list 'CAKE' of ‘N’ non-negative integers representing the cake's bar height where the width of each bar is one. You have to find the area of the largest rectangle in the cake.

Example:

For given array = {3,1,7,8,1,2}

Above is the cake in the shape of a histogram where the width of each bar is 1, given array cake = {3,1,7,8,1,2}, the largest rectangle is shown with red outline having an area of 7 * 2 = 14 units.
Try solving now

2. 8-Queen Problem

Easy
80% success
0/40
Asked in company
Inspirisys

You must find distinct solutions to the 8-queen puzzle. The 8-queen puzzle involves placing 8 queens on a chess board of size (8 X 8) such that no two queens can attack each other.


Each solution contains distinct board configurations of the 8-queens’ placement where the solution are a permutation of [1, 2, 3, …., n], here the number in the ith index denotes that the ith column queen is placed in the row with that number.


For example, the permutation [1, 7, 3, 7, 5, 6, 7, 8] means the queen in the 1st column is placed in the 1st row, the queen in the 2nd column is placed in the 7th row, and so on. This permutation may or may not be a valid chessboard configuration for the 8-queen puzzle.


Note: In the output, you will have 1/0 corresponding to whether your answer is right/wrong, where 1 denotes right, and 0 denotes wrong. Also, your program will run only on one input file.


Try solving now
02
Round
Easy
Online Coding Test
Duration40 minutes
Interview date20 Nov 2022
Coding problem2

Very similar to the first round. Two coding questions of moderate and easy difficulty level were asked to solve.

1. Longest Palindromic Substring

Moderate
35m average time
78% success
0/80
Asked in companies
Paytm (One97 Communications Limited)AmazonMicrosoft

You are given a string ‘S’ of length ‘N’.

You must return the longest palindromic substring in ‘S’.

Note: Return any of them in case of multiple substrings with the same length.

Example:

Input: ‘S’ =’badam’

Output: ‘ada’

‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.
Try solving now

2. Rotting Oranges

Moderate
20m average time
78% success
0/80
Asked in companies
MicrosoftAmazonApple

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • Value 2 - representing a rotten orange.
  • Every second, any fresh orange that is adjacent(4-directionally) to a rotten orange becomes rotten.

    Your task is to find out the minimum time after which no cell has a fresh orange. If it's impossible to rot all the fresh oranges then print -1.

    Note:
    1. The grid has 0-based indexing.
    2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
    
    Try solving now
    03
    Round
    Easy
    HR Round
    Duration15 minutes
    Interview date15 Dec 2022
    Coding problem1

    1. Basic HR Questions

    Introduce yourself?
    Why should we hire you?
    What are your hobbies?
    What are your salary expectations?

    Here's your problem of the day

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

    Skill covered: Programming

    Which SQL keyword removes duplicate records from a result set?

    Choose another skill to practice
    Similar interview experiences
    Software Developer
    3 rounds | 5 problems
    Interviewed by Inspirisys
    267 views
    0 comments
    0 upvotes
    SDE - 1
    3 rounds | 5 problems
    Interviewed by Inspirisys
    283 views
    0 comments
    0 upvotes
    Software Engineer
    3 rounds | 5 problems
    Interviewed by Inspirisys
    309 views
    0 comments
    0 upvotes
    Software Developer
    3 rounds | 5 problems
    Interviewed by Inspirisys
    315 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    Software Engineer
    3 rounds | 5 problems
    Interviewed by Mindtree
    11083 views
    7 comments
    0 upvotes
    company logo
    Software Engineer
    3 rounds | 7 problems
    Interviewed by Optum
    7002 views
    1 comments
    0 upvotes
    company logo
    Software Engineer
    5 rounds | 5 problems
    Interviewed by Microsoft
    8503 views
    1 comments
    0 upvotes