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

SDE - 1

MAQ Software
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Data Structures, OOPS , Algorithms, DBMS , Operating Systems, Computer Networks, Software Engineering
Tip
Tip

Tip 1 : Practice Medium Level Questions for each topic.
Tip 2 : Do at least 2 good projects.
Tip 3 : Don't fake the resume.

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

Tip 1 : Have some good projects on your resume (Minimum 2 Questions)
Tip 2 : Don't put false things on your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date18 Mar 2022
Coding problem3

This round contains some MCQs and 3 coding questions which were quite easy.

1. Sort An Array of 0s, 1s and 2s

Easy
10m average time
90% success
0/40
Asked in companies
IBMSamsungDirecti

You have been given an array/list 'arr' consisting of 'n' elements.


Each element in the array is either 0, 1 or 2.


Sort this array/list in increasing order.


Do not make a new array/list. Make changes in the given array/list.


Example :
Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]

Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]

Explanation: The array is sorted in increasing order.
Problem approach

The problem was posed, with `0′, `1′, and `2′. The array is divided into four sections: 
a[1..Low-1] zeroes
a[Low..Mid-1] ones 
a[Mid..High] unknown
a[High+1..N] twos
Step: If the ith element is 0 then swap the element to the low range, thus shrinking the unknown range.
Similarly, if the element is 1 then keep it as it is but shrink the unknown range.
If the element is 2 then swap it with an element in the high range.

Try solving now

2. Is It A Tree?

Moderate
20m average time
75% success
0/80
Asked in companies
Goldman SachsUrban Company (UrbanClap)CIS - Cyber Infrastructure

Given a graph with 'V' vertices numbered from 0 to 'V' - 1 and 'E' edges. Determine if it is a tree or not?

Problem approach

Check for the following conditions:

  • There is no cycle.
  • The graph is connected.
Try solving now

3. Longest Sub-string with at most K Distinct Characters

Moderate
35m average time
65% success
0/80
Asked in companies
SAP LabsHikeBNY Mellon

You are given string S of length N, and an integer K. Your task is to find the length of the longest substring that contains at most K distinct characters.

Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date21 Mar 2022
Coding problem2

This round was interview with Senior Software Developer at MAQ Software. Asked introduction and discussed about internships and projects then one question of stack (Balanced Parenthesis) and 2 other DSA questions

1. Balanced parentheses

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

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

Step 1 : Declare a character stack S.
Step 2 : Now traverse the expression string exp. 
Step 3 : If the current character is a starting bracket (‘(‘ or ‘{‘ or ‘[‘) then push it to stack.
Step 4 : If the current character is a closing bracket (‘)’ or ‘}’ or ‘]’) then pop from the stack and if the popped character is the matching starting bracket then fine else brackets are not balanced.

Try solving now

2. Reverse A LL

Moderate
30m average time
65% success
0/80
Asked in companies
CIS - Cyber InfrastructureAmazonPhonePe

Ninjas is practicing problems on the linked list. He came across a problem in which he has given a linked list of ‘N’ nodes and two integers, ‘LOW’ and ‘HIGH’. He has to return the linked list ‘HEAD’ after reversing the nodes between ‘LOW’ and ‘HIGH’, including the nodes at positions ‘LOW’ and ‘HIGH’.

Problem approach

It is a standard problem and can be found on every platform. So, I just applied the procedure that I practised there

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

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by MAQ Software
1040 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MAQ Software
1809 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by MAQ Software
1549 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by MAQ Software
1300 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6365 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2198 views
0 comments
0 upvotes