Upload Button Icon Add office photos

Filter interviews by

EX Squared Solutions Interview Questions and Answers

Updated 6 Sep 2023
Popular Designations

7 Interview questions

A Software Developer was asked
Q. 

Flip Bits Problem Explanation

Given an array of integers ARR of size N, consisting of 0s and 1s, you need to select a sub-array and flip its bits. Your task is to return the maximum count of 1s that can be...

Ans. 

Maximize the count of 1s in a binary array by flipping a sub-array of 0s to 1s at most once.

  • Initial Count: Start by counting the number of 1s in the original array.

  • Flipping Logic: For each sub-array, calculate the effect of flipping 0s to 1s and 1s to 0s.

  • Kadane's Algorithm: Use a modified version of Kadane's algorithm to find the maximum gain from flipping a sub-array.

  • Edge Cases: Consider cases where the array is ...

View all Software Developer interview questions
A Software Developer Intern was asked
Q. 

Buy and Sell Stock Problem Statement

Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell t...

Ans. 

Maximize profit from stock prices over N days with up to two buy-and-sell transactions.

  • Two Transactions: You can buy and sell stocks twice to maximize profit.

  • Sell Before Buy: Ensure you sell a stock before buying again.

  • Example 1: Prices = [3, 3, 5, 0, 0] yields max profit of 6.

  • Example 2: Prices = [7, 6, 4, 3, 1] yields max profit of 0.

  • Dynamic Programming: Use dynamic programming to track profits efficiently.

View all Software Developer Intern interview questions
A Software Developer Intern was asked
Q. 

Convert Sentence to Pascal Case

Given a string STR, your task is to remove spaces from STR and convert it to Pascal case format. The function should return the modified STR.

In Pascal case, words are conc...

Ans. 

Convert a given string to Pascal case by removing spaces and capitalizing the first letter of each word.

  • Input Handling: Read the number of test cases and each string to be processed.

  • String Manipulation: Split the string by spaces, capitalize each word, and join them without spaces.

  • Example: 'hello world' becomes 'HelloWorld'.

  • Efficiency: Ensure the solution handles up to 500,000 characters efficiently due to constra...

View all Software Developer Intern interview questions
🔥 Asked by recruiter 2 times
A Software Developer Intern was asked
Q. 

Generate Possible Words from T9 Keypad

Given a string S consisting of digits from 2 to 9, the task is to generate all possible strings that can be formed by mapping these digits to letters on a T9 keypad. ...

Ans. 

Generate all possible letter combinations from a T9 keypad input string, sorted lexicographically for each test case.

  • Mapping Digits: Each digit from 2 to 9 corresponds to specific letters (e.g., 2 -> 'abc', 3 -> 'def').

  • Combination Generation: Use backtracking or iterative methods to generate all possible combinations of letters for the given digits.

  • Lexicographical Order: Ensure the output combinations are so...

View all Software Developer Intern interview questions
A Software Developer Intern was asked
Q. 

Pair Sum Problem Statement

You are provided with an array ARR consisting of N distinct integers in ascending order and an integer TARGET. Your objective is to count all the distinct pairs in ARR whose sum ...

Ans. 

Count distinct pairs in a sorted array that sum up to a given target value, returning -1 if no pairs exist.

  • Two-Pointer Technique: Use two pointers, one at the start and one at the end of the array, to find pairs efficiently.

  • Distinct Elements: Since the array contains distinct integers, each valid pair will be unique.

  • Example: For ARR = [1, 2, 3] and TARGET = 4, the only pair is (1, 3).

  • Return Value: If pairs are fou...

View all Software Developer Intern interview questions
A Software Developer Intern was asked
Q. Write an SQL query to fetch records that are present in one table but not in another table.
Ans. 

SQL query to find records in one table that do not exist in another table using LEFT JOIN or NOT EXISTS.

  • LEFT JOIN: Use a LEFT JOIN to combine both tables and filter where the second table's key is NULL. Example: SELECT a.* FROM TableA a LEFT JOIN TableB b ON a.id = b.id WHERE b.id IS NULL.

  • NOT EXISTS: Use a subquery with NOT EXISTS to check for non-existence. Example: SELECT * FROM TableA a WHERE NOT EXISTS (SELECT...

View all Software Developer Intern interview questions
A Software Developer Intern was asked
Q. 

Maximum Sum Path from Leaf to Root

Given a binary tree with 'N' nodes, identify the path from a leaf node to the root node that has the maximum sum among all root-to-leaf paths.

Example:

All the possible...

Ans. 

Find the maximum sum path from a leaf node to the root in a binary tree using level order input.

  • Input Format: The binary tree is represented in level order, with '0' indicating null nodes.

  • Example: For input '4 -2 3 4 0 5 6 0 7 0 0 0 0 0 0', the tree structure can be visualized.

  • Path Calculation: Traverse the tree recursively to calculate the sum of paths from leaves to the root.

  • Output: Return the path with the maxi...

View all Software Developer Intern interview questions
Are these interview questions helpful?

EX Squared Solutions Interview Experiences

3 interviews found

Interview Questions & Answers

user image Anonymous

posted on 6 Sep 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Aug 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Coderbyte platform was used
There were 3 easy problems related to string and array manipulation and 2 medium to hard problems of lru cache implementation and the other one was of the time difference between the given 12hour format time (it was given in string) and there was a sql hard question in which it asked us to filter the table based on the given conditions and add a column with a given condition

Round 3 - Technical 

(1 Question)

  • Q1. They asked me reverse of linked list and rotate a matrix by 90 degeress questions and they asked basic oops concepts and some basic sorting algorithms they asked me to explain the merge sort then they aske...

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

  • Q1. 

    Pair Sum Problem Statement

    You are provided with an array ARR consisting of N distinct integers in ascending order and an integer TARGET. Your objective is to count all the distinct pairs in ARR whose sum...

  • Ans. 

    Count distinct pairs in a sorted array that sum up to a given target value, returning -1 if no pairs exist.

    • Two-Pointer Technique: Use two pointers, one at the start and one at the end of the array, to find pairs efficiently.

    • Distinct Elements: Since the array contains distinct integers, each valid pair will be unique.

    • Example: For ARR = [1, 2, 3] and TARGET = 4, the only pair is (1, 3).

    • Return Value: If pairs are found, r...

  • Answered by AI
  • Q2. 

    Maximum Sum Path from Leaf to Root

    Given a binary tree with 'N' nodes, identify the path from a leaf node to the root node that has the maximum sum among all root-to-leaf paths.

    Example:

    All the possibl...

  • Ans. 

    Find the maximum sum path from a leaf node to the root in a binary tree using level order input.

    • Input Format: The binary tree is represented in level order, with '0' indicating null nodes.

    • Example: For input '4 -2 3 4 0 5 6 0 7 0 0 0 0 0 0', the tree structure can be visualized.

    • Path Calculation: Traverse the tree recursively to calculate the sum of paths from leaves to the root.

    • Output: Return the path with the maximum s...

  • Answered by AI
  • Q3. Write an SQL query to fetch records that are present in one table but not in another table.
  • Ans. 

    SQL query to find records in one table that do not exist in another table using LEFT JOIN or NOT EXISTS.

    • LEFT JOIN: Use a LEFT JOIN to combine both tables and filter where the second table's key is NULL. Example: SELECT a.* FROM TableA a LEFT JOIN TableB b ON a.id = b.id WHERE b.id IS NULL.

    • NOT EXISTS: Use a subquery with NOT EXISTS to check for non-existence. Example: SELECT * FROM TableA a WHERE NOT EXISTS (SELECT 1 FR...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 30 minutes
Round difficulty - Easy

  • Q1. 

    Convert Sentence to Pascal Case

    Given a string STR, your task is to remove spaces from STR and convert it to Pascal case format. The function should return the modified STR.

    In Pascal case, words are con...

  • Ans. 

    Convert a given string to Pascal case by removing spaces and capitalizing the first letter of each word.

    • Input Handling: Read the number of test cases and each string to be processed.

    • String Manipulation: Split the string by spaces, capitalize each word, and join them without spaces.

    • Example: 'hello world' becomes 'HelloWorld'.

    • Efficiency: Ensure the solution handles up to 500,000 characters efficiently due to constraints.

  • Answered by AI
Round 3 - Video Call 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

  • Q1. 

    Buy and Sell Stock Problem Statement

    Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...

  • Ans. 

    Maximize profit from stock prices over N days with up to two buy-and-sell transactions.

    • Two Transactions: You can buy and sell stocks twice to maximize profit.

    • Sell Before Buy: Ensure you sell a stock before buying again.

    • Example 1: Prices = [3, 3, 5, 0, 0] yields max profit of 6.

    • Example 2: Prices = [7, 6, 4, 3, 1] yields max profit of 0.

    • Dynamic Programming: Use dynamic programming to track profits efficiently.

  • Answered by AI
  • Q2. 

    Generate Possible Words from T9 Keypad

    Given a string S consisting of digits from 2 to 9, the task is to generate all possible strings that can be formed by mapping these digits to letters on a T9 keypad....

  • Ans. 

    Generate all possible letter combinations from a T9 keypad input string, sorted lexicographically for each test case.

    • Mapping Digits: Each digit from 2 to 9 corresponds to specific letters (e.g., 2 -> 'abc', 3 -> 'def').

    • Combination Generation: Use backtracking or iterative methods to generate all possible combinations of letters for the given digits.

    • Lexicographical Order: Ensure the output combinations are sorted ...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from J.C. Bose University of Science and Technology, YMCA. Eligibility criteriaNo backlogEX Squared Solutions India Pvt Ltd interview preparation:Topics to prepare for the interview - Tree, Linked List,Graph,OOPS,Dynamic Programming,Stacks,Operating SystemTime required to prepare for the interview - 6 monthInterview preparation tips for other job seekers

Tip 1 : Mention 1 project at least in your resume which is done by you . Never mention a project copied from google. 
Tip 2 : Prepare for basic of OOPS and Operating System. 
Tip 3 : You have to some Knowledge of System design .
Tip 4 : never give wrong answer if you don't know the answer simply say it to interviewr.

Application resume tips for other job seekers

Tip 1 : Never add fake information related to project and other stuff.
Tip 2 : Keep resume simple do not add unnecessary info like you ranked 1st in 5th class.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

The test was conducted around 3 pm . Four coding questions were there. 2 questions were easy and 2 were of moderate difficulty level. It was conducted remotely with video proctoring.I was able to solve all the 4 questions.

  • Q1. 

    Generate Possible Words from T9 Keypad

    Given a string S consisting of digits from 2 to 9, the task is to generate all possible strings that can be formed by mapping these digits to letters on a T9 keypad....

  • Ans. 

    Generate all possible strings by mapping digits to letters on a T9 keypad and print them in lexicographical order.

    • Create a mapping of digits to letters on a T9 keypad

    • Use recursion to generate all possible combinations of letters for the given digits

    • Sort the generated strings in lexicographical order

    • Return the sorted strings as an array of strings

  • Answered by AI
  • Q2. 

    Flip Bits Problem Explanation

    Given an array of integers ARR of size N, consisting of 0s and 1s, you need to select a sub-array and flip its bits. Your task is to return the maximum count of 1s that can b...

  • Ans. 

    Maximize the count of 1s in a binary array by flipping a sub-array of 0s to 1s at most once.

    • Initial Count: Start by counting the number of 1s in the original array.

    • Flipping Logic: For each sub-array, calculate the effect of flipping 0s to 1s and 1s to 0s.

    • Kadane's Algorithm: Use a modified version of Kadane's algorithm to find the maximum gain from flipping a sub-array.

    • Edge Cases: Consider cases where the array is all 1...

  • Answered by AI
Round 2 - HR 

(1 Question)

Round duration - 10 Minutes
Round difficulty - Easy

It was a telephonic round. The HR asked some basic questions like how was your experience in the previous rounds.
 

  • Q1. Why do you want to join our company and why should we hire you?

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in FaridabadEligibility criteria7 CGPAEX Squared Solutions India Pvt Ltd interview preparation:Topics to prepare for the interview - Trees , Graphs, Number Theory, Arrays, Linked ListsTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Tip 1 : Practise as many questions as possible of DSA from Leetcode or coding ninjas.
Tip 2 : Study fundamentals of subjects like OS, DBMS and Computer Network and do atleast 2 good projects.
Tip 3 : Do atleast 200 questions.

Application resume tips for other job seekers

Tip 1 : Have atleast 2-3 projects on resume.
Tip 2 : Mention profile links of github and codechef/codeforces.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about EX Squared Solutions?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. All Technical quetions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared technically

I applied via Campus Placement and was interviewed before Jun 2020. There were 6 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. General HR questions and some current related topic

Interview Preparation Tips

Interview preparation tips for other job seekers - Speak till recruiter stops you

Interview Questionnaire 

1 Question

  • Q1. Java c c++

Interview Questionnaire 

1 Question

  • Q1. Your past exp?
Are these interview questions helpful?

Interview Questionnaire 

2 Questions

  • Q1. Questions were mostly situations based.
  • Q2. Technical explanation is required

I applied via Campus Placement and was interviewed before Nov 2019. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Basic coding questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Be real, and just be confident with what ever knowledge you have, nobody expects you to know everything. Every company from freshers expect basic knowledge and an attitude for to learn new things.

Interview Questionnaire 

2 Questions

  • Q1. Self introduction
  • Q2. What is java
  • Ans. 

    Java is a high-level programming language known for its platform independence and object-oriented approach.

    • Java is widely used for developing desktop, web, and mobile applications.

    • It is known for its robustness, security, and scalability.

    • Java programs are compiled into bytecode that can run on any Java Virtual Machine (JVM).

    • It supports multithreading, exception handling, and automatic memory management.

    • Popular framewor...

  • Answered by AI

Skills evaluated in this interview

EX Squared Solutions Interview FAQs

How many rounds are there in EX Squared Solutions interview?
EX Squared Solutions interview process usually has 3 rounds. The most common rounds in the EX Squared Solutions interview process are Resume Shortlist, Coding Test and Technical.

Tell us how to improve this page.

Overall Interview Experience Rating

1/5

based on 1 interview experience

Difficulty level

Easy 100%
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.7
 • 8.7k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Amazon Interview Questions
4.0
 • 5.4k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
View all

EX Squared Solutions Reviews and Ratings

based on 9 reviews

4.2/5

Rating in categories

3.9

Skill development

4.3

Work-life balance

4.2

Salary

4.4

Job security

4.3

Company culture

4.0

Promotions

3.9

Work satisfaction

Explore 9 Reviews and Ratings
Software Engineer
8 salaries
unlock blur

₹6 L/yr - ₹18.9 L/yr

Senior Software Engineer
5 salaries
unlock blur

₹16 L/yr - ₹27.5 L/yr

Software Developer
4 salaries
unlock blur

₹4.5 L/yr - ₹11.7 L/yr

UI Designer
4 salaries
unlock blur

₹5.5 L/yr - ₹8 L/yr

Senior Software Test Engineer
4 salaries
unlock blur

₹12 L/yr - ₹14 L/yr

Explore more salaries
Compare EX Squared Solutions with

TCS

3.6
Compare

Accenture

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare
write
Share an Interview