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

Software Engineer

MAQ Software
upvote
share-icon
1 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 15 days
Topics: Core Java , Data Structures , SQL , Algorithms , Oops
Tip
Tip

Tip 1 : Basics of java should be clear 
Tip 2 : Do maximum question on strings and array

Application process
Where: Campus
Eligibility: No backlogs
Resume Tip
Resume tip

Tip 1 : Atleast 1 good project
Tip 2 : Good ranks on websites like hackerrank , leetcode.

Interview rounds

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

A time range is given you can attempt with in that time and once started you cant resume .

1. Sort String with alternate lower upper.

Easy
15m average time
85% success
0/40
Asked in companies
AmdocsMAQ SoftwareCapegemini Consulting India Private Limited

Given a string ‘STR’ containing lowercase and uppercase letters. You need to sort the string so that the resulting string contains uppercase and lowercase letters at alternate positions but in sorted order.

Note
If any lowercase or uppercase letters remains left after alternate positioning, then append them at the last of the string in sorted order.
For Example
If the given string STR = “rDaBfS” then after sorting  STR = “aBfDrS”. In the sorted string, lowercase letters a,f,r, and uppercase letters B, D, S are in sorted order and alternate positions.
Try solving now

2. Remove Invalid Parentheses

Hard
50m average time
50% success
0/120
Asked in companies
UberPayPalMAQ Software

You are given a string consisting only of parentheses and letters. Your task is to remove the minimum number of invalid parentheses and return all possible unique, valid strings thus obtained.

Note:

1) A string is valid only if every left parenthesis has corresponding right parentheses in the same order.

For example Given ‘STR’ = (())()) is not a valid string, whereas ‘STR’ = (())() is a valid string.
Try solving now

3. Nth Fibonacci Number

Easy
0/40
Asked in companies
SAP LabsHCL TechnologiesWalmart

The n-th term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

    F(n) = F(n - 1) + F(n - 2), 
    Where, F(1) = 1, F(2) = 1


Provided 'n' you have to find out the n-th Fibonacci Number. Handle edges cases like when 'n' = 1 or 'n' = 2 by using conditionals like if else and return what's expected.

"Indexing is start from 1"


Example :
Input: 6

Output: 8

Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:    
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
Try solving now

4. Find Kth row of Pascal's Triangle

Easy
15m average time
85% success
0/40
Asked in companies
OlaMAQ SoftwareGoogle inc

You are given a non-negative integer 'K'. Your task is to find out the Kth row of Pascal’s Triangle.

In Mathematics, Pascal's triangle is a triangular array where each entry of a line is a value of a binomial coefficient. An example of Pascal’s triangle is given below.

example

Example :-

INPUT : K = 2
OUTPUT: 1 1

In the above example, K = 2, Hence the 2nd row from the top of pascal’s triangle, as shown in the above example is 1 1.

INPUT   : K = 4
OUTPUT  : 1 4 6 4 1

In the above example, K = 4, Hence the 4th row from the top of pascal’s triangle, as shown in the above example is 1 3 3 1.
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
company logo
Software Engineer
3 rounds | 2 problems
Interviewed by MAQ Software
1396 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 10 problems
Interviewed by MAQ Software
3069 views
0 comments
0 upvotes
company logo
Software Engineer
1 rounds | 1 problems
Interviewed by MAQ Software
1933 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 5 problems
Interviewed by MAQ Software
3818 views
3 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
4 rounds | 1 problems
Interviewed by Newgen Software
3210 views
2 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by HashedIn
2582 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Ernst & Young (EY)
0 views
0 comments
0 upvotes