Learn to code with PrepInsta

Check PrepInsta Coding Blogs, Core CS, DSA etc

One Subscription, For Everyone

Get 200+ Courses under one Subscription

  • aptitude
  • aws_cloud
  • competitive-coding
  • dbms
  • logical_reasoning
  • operating-system
  • verbal
  • tcs_nqt
  • data_science
  • ethical_hacking
  • dsa
  • verbal
  • basic_coding
  • python
  • cpp
  • java
  • basic_coding
  • python
Explore PrepInsta Prime

Never Miss an OffCampus Update

Get OffCampus Updates on Social Media from PrepInsta

Infra Market Coding Questions and Answers

Infra Market Coding Questions with Solutions

In Infra Market Coding Questions and Answers page, you will find out Coding Questions asked in Online Assessments and Technical Interviews involved in the Hiring Process of the Company.

Go through this page to get more details like Job Profile, Job Location, CTC Offered, Steps involved in the recruitment process, etc. of the company.


About Infra Market

Infra.Market was Co-Founded by Souvik Sengupta and Aaditya Sharda in 2016. It is the leading Infrastructure Constructions and Solutions Company that provides a vast variety of construction materials for large-scale construction activities. Their focus is mainly on providing a wide range of building materials as well as products that are used to enhance the Interior and Exterior spaces of the Infrastructures.

About Infra Market Recruitment Process

The Infra Market Recruitment Process consists of the following steps :

  1. Online Coding Assessment [ DSA Based ] 
  2. Technical Interview
  3. HR Interview
We have mentioned further details of the Infra Market Recruitment Process in the following Tabular Form
Infra Market Related Information
Position : Software Engineer Testing (QA Engineering)
Course :
  • B.E / B.Tech – CSE, IT & ECE
  • Eligible Batch – 2023
Eligibility Criteria / Academic Qualification Required :
  • Minimum 65 % or equivalent CGPA required in 10th / 12th/ Graduation.
  • No Current Backlogs.
Infra Market CTC Breakdown :
  • Basic Pay = ₹ 12 L.P.A
  • Performance Bonus = ₹ 2 L
  • R.S.U =  ₹ 10 L Stocks
  • Relocation = ₹ 50K
Selection Process :
  1. Online Coding Assessment
  2. Technical Interview
  3. HR Interview
Joining Location : Bangalore

Infra Market Job Description

Software Engineer - Testing (QA Engineering)

This Job Role requires :

  1. Knowledge in Core Java.
  2. Analytical and logical skills.
  3. Better understanding of Manual & Automation Testing and writing test scenarios and test cases.
  4. Good understanding on SDLC and STLC.
  5. Good in Analyzing bugs and errors found during tests.
  6. Good knowledge of RDBMS and nice to have exposure to NoSQL database technologies.

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

Infra Market Coding Questions and Answers

Question 1 : Copycat

Problem Statement :

Ashish was copying from Rahit in the exam. So, Rahit told him to change the answers a little bit so that the examiner cannot find the fraud. But silly Ashish in the way started to change all the answers that were needed. He shuffled the letters in each word in a way where the maximum number of letters were misplaced.

For a given word, find the maximum difference that Ashish can generate between his answer and Rahit’s answer.

Suppose Rahit wrote “car” for an answer, Ashish can write “acr” with difference 2, or “arc” with differnece 3.

Note That: The letters are all in lowercase.

Input Format:

First line containing an integer n, number of words.

Then, n numbers of lines as the query words.


N number of lines with an integer each denoting possible maximum difference.

Sample Input:






Sample Output:





Question 2 :Borrow Number

Problem Statement  :

You have two numbers number1 and number2, your job is to check the number of borrow operations needed for subtraction of number1 from number2. If the subtraction is not possible then return the string not possible.

Example :


Answer :


Answer :
Not possible

Question 3 : Capitalize/Decapitalize

Problem Statement  :

You’re given a function that accepts the following, a string1, its length and a character c. Your job is to replace all the occurrences of character c in string1 and capitalize it or decapitalize it based on the character c.

Input :
hello world
Output :
heLLo worLd

Input :
Output :

Question 4 : Total Distinct Money

Problem Statement  :

You woke up from sleep and found yourself in the 0th row and 0th column of a grid. every other square in a grid has some amount of money kept there. If you are given the matrix with all the values left in the cells, you have to find how many different ways are there to rich the r-1 th , c-1 th cell and the sum of all possible amount of money you will have each time if you bring all the money kept in places in the cell.

Note that, if you are in i,j th cell, either you can go i+1, j th cell or you can go i,j+1 cell. 

Again, the 0,0th grid and the n-1,m-1 th grid will have 0 value.

Input Format:

Two integers R and C meaning the number of rows and columns.

Next R lines C space separated integers denoting the total grid.

Output Format:

First Line denoting the distinct ways to rich.

Next line denotes the total money if you use all possible distinct ways (Given that if you take the money from a cell, the money is readded in the cell).

Sample Input:

3 3

0 2 3

1 3 2

1 1 0

Sample Output:




The all possible totals are:

0 -> 2 -> 3 -> 2 -> 0  Total = 7

0 -> 2 -> 3 -> 2 -> 0  Total = 7

0 -> 2 -> 3 -> 1 -> 0  Total = 6

0 -> 1 -> 3 -> 2 -> 0  Total = 6

0 -> 1 -> 3 -> 1 -> 0  Total = 5

0 -> 1 -> 1 -> 1 -> 0  Total = 3

There are 4 distinct ways and the total is 21

Question 5 :Make It Palindrome

Problem Statement  :

You’re given a string, you’ve to print additional characters needed to make that string a palindrome.

A Palindrome is a sequence of characters that has the property of reading the same in either direction.

Input :
Output :

Sample Input :

Sample output :

FAQs related to Infra Market Coding Questions

Question 1: How many rounds are there in Infra Market Hiring Process?

There are in total three rounds in the Infra Market Hiring Process which includes:-

  1. Coding Assessments
  2. Technical Interview
  3. HR Interview
Question 2: Is Coding questions asked in Infra Market Recruitment Process?

Yes, Coding Questions are included in Online Assessment and Technical Interview of Infra Market.

Question 3: What does Infra Market really do ?

Infra.Market is a technology-driven B2B platform that provides end-to-end solutions for construction materials and infrastructure projects. Infra.Market works with construction and infrastructure companies to help them streamline their procurement processes and improve the quality and reliability of their supply chain. 

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others

Checkout list of all the video courses in PrepInsta Prime Subscription

Checkout list of all the video courses in PrepInsta Prime Subscription