# MAQ Software Interview Experience | On-Campus 2021

• Last Updated : 04 Feb, 2021

Branches Eligible: CS/IT / MCA

Eligibility Criteria: 60% in 10th, 12th/Diploma, Engineering Aggregate, No Live Backlog

Process: Online Test, Technical, HR Interview

Online Test: The online test consisted of 30 minutes of 30 aptitude questions with a negative marking of 0.25 marks + Coding round of 60 minutes(4 questions)

Aptitude Test: Questions were based on time-speed-distance, profit-loss, ratio-proportion, probability, some puzzles from geeksforgeeks as well, etc.

Coding Test:

1. Java Program for n-th Fibonacci numbers
2. Chocolate Distribution Problem( Question was asked differently)- https://www.geeksforgeeks.org/chocolate-distribution-problem/
3. Reverse the words in the sentence which are at even places.

## Java

 `String s = ``"My name is xyz"``;``String[] wordsArr``    ``= s.split(``" "``); ``// broke string into array delimited by``                    ``// " " whitespace``StringBuilder sb = ``new` `StringBuilder();``for` `(``int` `i = ``0``; i < wordsArr.length;``     ``i++) { ``// loop over array length``    ``if` `(i % ``2` `== ``0``) ``// if 1st word, 3rd word, 5th word..and``                    ``// so on words``        ``sb.append(wordsArr[i]); ``// add  the word as it is``    ``else``        ``sb.append(``            ``new` `StringBuilder(wordsArr[i])``                ``.reverse()); ``// else use StringBuilder``                             ``// revrese() to reverse it``    ``sb.append(``" "``); ``// add a whitespace in between words``}``System.out.println(``    ``sb.toString()``        ``.trim()); ``// remove extra whitespace from the end``                  ``// and convert StringBuilder to String`

4. Reverse a string without affecting special characters

If you want to really ace the interview of MAQ Software check out https://www.geeksforgeeks.org/maq-software-interview-preparation/ which provides all the questions, and they will be the same for your interview as well. Best of Luck!

My Personal Notes arrow_drop_up