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

SDE - 1

MAQ Software
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

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

Tip 1 : Do 2 projects.
Tip 2 : Practice data structures programs.
Tip 3 : Take a course on Coding Ninjas.

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

Tip 1 : Keep it short.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date13 Mar 2021
Coding problem4

Timing was 9: 30 AM. Platform was quite good and easy to understand.

1. Reverse Only Letters

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

You are given a string, ‘S’. You need to reverse the string where characters that are not an alphabet stay in the same place, and the rest reverse their positions.

Eg: “a-bcd” becomes “d-cba”

Try solving now

2. Find duplicates in array

Easy
15m average time
90% success
0/40
Asked in companies
OptumCIS - Cyber InfrastructureTata Consultancy Services (TCS)

You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all such duplicate elements.

Note:
1. All the elements are in the range 0 to N - 1.
2. The elements may not be in sorted order.
3. You can return the duplicate elements in any order.
4. If there are no duplicates present then return an empty array.
Try solving now

3. Pancake Sorting

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

You are given an array of integers ‘ARR’. Sort the array by performing a series of pancake flips. In one pancake flip, we do the following steps:

Choose an integer ‘K’ where 1 <= ‘K’ <= ARR.LENGTH.
Reverse the sub-array ARR[0, , ,K-1] (0-indexed).

Your task is to sort the array and return all the series of positions from where you flipped the array.

Note:

1. The array given will have elements between 1 to ‘N’, where N is the size of the array, and all elements of the array will be unique.
2. Any valid answer that sorts the array within 10 * array’s length flips will be judged as correct.
3. If the array is already sorted return an empty list. 

For example:

If ARR = [3,2,1] and we performed a pancake flip choosing K = 3, we reverse the sub-array [3,2,1], so ARR = [1,2,3] .  Hence the array becomes sorted therefore return {3}.
Try solving now

4. Sum of Digits

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

Ninja is given an integer ‘N’. One day Ninja decides to do the sum of all digits and replace the ‘N’ with the sum of digits until it becomes less than 10. Ninja wants to find what will be the value of ‘N’ after applying this operation.

Help Ninja in finding out this value.

Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date17 Apr 2021
Coding problem2

Timing was 9:30 AM. The interviewer was very nice.

1. Fibonacci Number

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

You are given an integer, all you have to do is to find whether this number is a Fibonacci number or not.

Fn is said to be a Fibonacci sequence such that each number in Fn is the sum of its two preceding numbers, starting with 0 and 1.

Fn = F(n-1) + F(n-2)

fn is said to be a Fibonacci number if it is a part of the Fn/Fibonacci sequence.

Try solving now

2. SQL Question

Write SQL query to find second highest salary from a Table.

03
Round
Medium
Video Call
Duration30 Minutes
Interview date17 Mar 2021
Coding problem2

Timing was 12 PM. Interviewer was not good.

1. Count Frequency

Easy
15m average time
85% success
0/40
Asked in companies
AmazonTata Consultancy Services (TCS)Tech Mahindra

You are given a string 'S' of length 'N', you need to find the frequency of each of the characters from ‘a’ to ‘z’ in the given string.

Example :

Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
Try solving now

2. DBMS Question

What is Normalization and 3NF?

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 create a function in JavaScript?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MAQ Software
1327 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MAQ Software
759 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by MAQ Software
826 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by MAQ Software
951 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
5805 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
5060 views
3 comments
0 upvotes