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

SE-1

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

Interview preparation journey

expand-icon
Journey
I completed my graduation in 2024 from Ajay Kumar Garg Engineering College and got the opportunity to interview with MAQ directly through campus placement.
Application story
I got a chance through the college Training and Placement. First, we needed to fill out a form, and based on CGPA, the company shortlisted only 40 students to take the Online Assessment (OA). Based on the OA results, only 9 students were selected for the interview, and finally, a total of 6 students received the offer.
Why selected/rejected for the role?
I believe I was selected for this role because of my strong technical skills, problem-solving ability, and adaptability. I performed well in the online assessment by demonstrating a solid understanding of data structures, algorithms, and SQL. In the technical interview, I effectively explained my approach to problem-solving, showcased my coding skills, and answered questions on core CS concepts like OOP and databases. Additionally, in the HR round, I confidently communicated my interest in the role, my ability to learn quickly, and how I could contribute to the company, which likely played a key role in my selection.
Preparation
Duration: 3 months
Topics: DSA, OOPS, SQL, Web development, String, Arrays, Linked List
Tip
Tip

Tip 1: Strengthen your programming skills.
Tip 2: Revise core CS concepts.
Tip 3: Practice mock interviews & communication skills.

Application process
Where: Campus
Eligibility: Above 8 CGPA, (Salary package: 6 LPA)
Resume Tip
Resume tip

Tip 1: Follow an ATS-friendly template.
Tip 2: List only limited, relevant skills.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date30 Mar 2024
Coding problem3

The test covered aptitude, logical reasoning, and coding questions focused on data structures and algorithms. There were 30 MCQs based on Aptitude, CS fundamentals, DSA.
Some questions also tested SQL queries and basic programming concepts.

1. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
IBMQuikrMicrosoft

Write a program to reverse a linked list.

Problem approach

To reverse a linked list, we change the direction of its next pointers so that each node points to its previous node.

Steps to Reverse the List:
Initialize Three Pointers:

prev = NULL (to store the previous node).
curr = head (to track the current node).
next (to store the next node).
Iterate Through the List:

Save the next node (next = curr.next).
Reverse the link (curr.next = prev).
Move prev and curr forward (prev = curr, curr = next).
Once curr becomes NULL, prev will be the new head of the reversed list.

Try solving now

2. DBMS

Write a query to get employees with the highest salary in their respective departments.
Solution:
SELECT employee_id, employee_name, department_id, salary
FROM employees e
WHERE salary = (
SELECT MAX(salary) 
FROM employees 
WHERE department_id = e.department_id
);

3. DBMS

Write a query to find duplicate employee names.
Solution:
SELECT employee_name, COUNT(*) 
FROM employees 
GROUP BY employee_name 
HAVING COUNT(*) > 1;

02
Round
Medium
Video Call
Duration60 minutes
Interview date16 Apr 2024
Coding problem2

1. Kth digit of Nth Palindrome

Moderate
0/80
Asked in company
MAQ Software

Write a program for Kth digit Nth Palindrome.

Problem approach

The problem requires finding the K-th digit of the N-th palindrome in a sequence of palindromes.

Step 1: Understanding the Problem
A palindrome is a number that reads the same forward and backward (e.g., 121, 333, 1221).
Given N, find the N-th palindrome in the sequence.
Extract the K-th digit from this palindrome.
Step 2: Approach to Solve the Problem
Generate the N-th palindrome:

Consider palindromes based on their number of digits.
Generate palindromes systematically in increasing order until reaching the N-th one.
Extract the K-th digit:

Convert the N-th palindrome to a string.
Retrieve the K-th digit (1-based index).

Try solving now

2. Second Highest Salary

Write a query to find the 2nd largest salary from the table. (Practice)

03
Round
Medium
Video Call
Duration60 minutes
Interview date16 Apr 2024
Coding problem3

1. Maximum Subarray Sum

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

Write a program for Maximum subarray sum.

Problem approach

The Maximum Subarray Sum problem requires finding the contiguous subarray with the largest sum in a given array.

Step 1: Understanding the Problem
Given an array arr[] of size N, find the contiguous subarray that has the maximum sum.

Example:
Input: arr = [-2, 1, -3, 4, -1, 2, 1, -5, 4]
Output: 6
Explanation: The subarray [4, -1, 2, 1] has the maximum sum = 6.

Step 2: Kadane’s Algorithm (Optimal Approach)
Initialize two variables:

maxSum = -∞ (stores the maximum sum found).
currentSum = 0 (stores the sum of the current subarray).
Iterate through the array:

Add the current element to currentSum.
If currentSum is greater than maxSum, update maxSum.
If currentSum becomes negative, reset it to 0 (start a new subarray).
Return maxSum after completing the iteration.

Try solving now

2. DBMS

3. OOPS

Explain polymorphism. (Learn)

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
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MAQ Software
1760 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by MAQ Software
1013 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by MAQ Software
1252 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 5 problems
Interviewed by MAQ Software
3819 views
3 comments
0 upvotes