Upload Button Icon Add office photos

Tech Mahindra Foundation

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Tech Mahindra Foundation Software Developer Interview Questions and Answers

Updated 16 Mar 2022

Tech Mahindra Foundation Software Developer Interview Experiences

3 interviews found

I applied via Approached by Company and was interviewed in Feb 2022. There were 2 interview rounds.

Round 1 - Aptitude Test 

30 mintues, relationship topics

Round 2 - HR 

(5 Questions)

  • Q1. What are your salary expectations?
  • Q2. What is your family background?
  • Q3. Why should we hire you?
  • Q4. What are your strengths and weaknesses?
  • Q5. Tell me about yourself.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident. And Be Strongand good communication

I applied via Company Website and was interviewed in Feb 2022. There were 2 interview rounds.

Round 1 - Aptitude Test 
Round 2 - HR 

(5 Questions)

  • Q1. What is your family background?
  • Q2. What are your salary expectations?
  • Q3. Why should we hire you?
  • Q4. What are your strengths and weaknesses?
  • Q5. Tell me about yourself.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be cool and Be strong and good Communications

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Find Duplicate in Array Problem Statement You are provided with a ... read more

I applied via Company Website and was interviewed in Feb 2022. There were 2 interview rounds.

Round 1 - Aptitude Test 
Round 2 - HR 

(5 Questions)

  • Q1. What are your salary expectations?
  • Ans. 

    I am open to discussing salary based on the responsibilities and opportunities offered by the position.

    • I am flexible and open to negotiation.

    • I am more interested in the overall package and growth opportunities than just the salary.

    • I would like to be compensated fairly based on my skills, experience, and the market value for the position.

    • I am confident that we can come to a mutually beneficial agreement.

  • Answered by AI
  • Q2. What is your family background?
  • Ans. 

    My family background is diverse and has influenced my values and work ethic.

    • My parents come from different cultural backgrounds, which has exposed me to different perspectives and traditions.

    • My father is an engineer and my mother is a teacher, which has instilled in me a passion for both problem-solving and education.

    • I have a sibling who is also in the software development field, which has provided me with a supportive...

  • Answered by AI
  • Q3. Why should we hire you?
  • Ans. 

    I have a strong technical background and a passion for software development.

    • I have a deep understanding of programming languages and frameworks.

    • I have experience in developing and delivering high-quality software solutions.

    • I am a quick learner and adapt easily to new technologies and methodologies.

    • I am a team player and can effectively collaborate with cross-functional teams.

    • I have excellent problem-solving and analyti...

  • Answered by AI
  • Q4. What are your strengths and weaknesses?
  • Ans. 

    My strengths include problem-solving, attention to detail, and teamwork. My weaknesses include time management and public speaking.

    • Strengths: problem-solving, attention to detail, teamwork

    • Weaknesses: time management, public speaking

  • Answered by AI
  • Q5. Tell me about yourself.
  • Ans. 

    I am a software developer with experience in developing web applications using various programming languages and frameworks.

    • Proficient in Java, Python, and JavaScript

    • Experience with front-end development using HTML, CSS, and React

    • Familiar with Agile development methodologies

    • Strong problem-solving and analytical skills

    • Worked on a team to develop a customer relationship management system for a large e-commerce company

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Good communications, Be strong

Interview questions from similar companies

Interview Questionnaire 

2 Questions

  • Q1. Explain the program return in round1 like logic used and how to achieve the result.
  • Ans. 

    The program return in round1 is achieved using logic based on the round function.

    • The round1 program uses a specific logic to determine the return value.

    • The logic may involve mathematical calculations, conditional statements, or other operations.

    • The result is achieved by following the steps defined in the round1 logic.

    • Examples of round1 logic could include rounding a number to the nearest integer, performing a specific

  • Answered by AI
  • Q2. Discussion about package and company nomes

Interview Preparation Tips

Round: Test
Experience: Aptitude test
program

Round: System test
Experience: Some problem are give we need to provide solution programmatically and give the output.

Interview Questionnaire 

9 Questions

  • Q1. Questions related to the work done at my previous company
  • Q2. Find if a given directed graph is cyclic or not
  • Ans. 

    To check if a directed graph is cyclic or not

    • Use Depth First Search (DFS) algorithm to traverse the graph

    • Maintain a visited set to keep track of visited nodes

    • Maintain a recursion stack to keep track of nodes in the current DFS traversal

    • If a node is visited and is already in the recursion stack, then the graph is cyclic

    • If DFS traversal completes without finding a cycle, then the graph is acyclic

  • Answered by AI
  • Q3. You have a stream of bytes from which you can read one byte at a time. You only have enough space to store one byte. After processing those bytes, you have to return a random byte. Note: The probability of...
  • Ans. 

    Return a random byte from a stream of bytes with equal probability.

    • Create a variable to store the count of bytes read

    • Create a variable to store the current random byte

    • For each byte read, generate a random number between 0 and the count of bytes read

    • If the random number is 0, store the current byte as the random byte

    • Return the random byte

  • Answered by AI
  • Q4. Find if a given Binary Tree is BST or not
  • Ans. 

    Check if a binary tree is a binary search tree or not.

    • Traverse the tree in-order and check if the values are in ascending order.

    • For each node, check if its value is greater than the maximum value of its left subtree and less than the minimum value of its right subtree.

    • Use recursion to check if all nodes in the tree satisfy the above condition.

  • Answered by AI
  • Q5. Devise an algorithm to determine the Nth-to-Last element in a singly linked list of unknown length. If N = 0, then your algorithm must return the last element. You should parse the list only once
  • Ans. 

    Algorithm to find Nth-to-Last element in a singly linked list of unknown length

    • Traverse the list and maintain two pointers, one at the beginning and one at Nth node from beginning

    • Move both pointers simultaneously until the second pointer reaches the end of the list

    • The first pointer will be pointing to the Nth-to-Last element

    • If N=0, return the last element

    • Parse the list only once

  • Answered by AI
  • Q6. Given an array of integers, print all possible permutations. Also explain your approach
  • Ans. 

    Print all possible permutations of an array of integers

    • Use recursion to swap elements and generate permutations

    • Start with the first element and swap it with each subsequent element

    • Repeat the process for the remaining elements

    • Stop when all elements have been swapped with the first element

    • Print each permutation as it is generated

  • Answered by AI
  • Q7. Design a Stack DS that also prints in O(1) the minimum element you pushed in the stack
  • Ans. 

    Design a stack that prints the minimum element pushed in O(1)

    • Use two stacks, one for storing elements and another for storing minimums

    • When pushing an element, compare it with the top of minimum stack and push the smaller one

    • When popping an element, pop from both stacks

    • To get the minimum element, just return the top of minimum stack

  • Answered by AI
  • Q8. Given a linked list with loop, how would you find the starting point of the loop ?
  • Ans. 

    To find the starting point of a loop in a linked list, use Floyd's cycle-finding algorithm.

    • Use two pointers, one moving at twice the speed of the other.

    • When they meet, move one pointer to the head of the list and keep the other at the meeting point.

    • Move both pointers one step at a time until they meet again, which is the starting point of the loop.

  • Answered by AI
  • Q9. Find a number a matrix mat[m][n] where all the rows and columns are sorted non-decreasingly. What will be the complexity of the solution
  • Ans. 

    To find a number in a matrix where all rows and columns are sorted non-decreasingly. Complexity of the solution.

    • Use binary search to find the number in each row and column

    • Start from the top-right corner or bottom-left corner to optimize search

    • Time complexity: O(m log n) or O(n log m) depending on the starting corner

  • Answered by AI

Interview Preparation Tips

Skills: Algorithm, Data structure
College Name: Na

Skills evaluated in this interview

Interview Preparation Tips

Round: Test
Experience: Given three Dsalgo questions need to write code in an hour.
1.derangement of an array
2.level order traversal in spiral form
3.find the number of duplicates in an unsorted array
Total Questions: 3

Interview Questionnaire 

2 Questions

  • Q1. Technical Q's about profile
  • Q2. Package dicussion

Interview Preparation Tips

Round: Test
Experience: They conduct test about technical knowledge.
Duration: 1 hour
Total Questions: 30

Round: Technical Interview
Experience: Technical Q's about profile

Interview Questionnaire 

1 Question

  • Q1. Why you wanna join company? Why Polaris ? and the regular interview questions :)

Interview Preparation Tips

Round: Test
Experience: I am in ECE , so we had simple aptitude questions.Time and accuracy was the key.Knowledge in any of the languages(C Cpp JAVA etc) is desired but not necessary. We were told that we will be having training sessions prior to getting actually inducted in the company.
Tips: BE good with aptitude.Level of difficulty between easy to medium. NO tough qtns were asked
Total Questions: 60

Round: HR Interview
Experience: Satisfactory
Tips: Prepare the regular interview HR questions (Non -CS )

College Name: NIT CALICUT

I was interviewed before Oct 2016.

Interview Questionnaire 

1 Question

  • Q1. I asked an question to prant an attitude

Interview Preparation Tips

Round: Behavioural Interview
Experience: To tell a stroy can moves in clolsepy
Tips: provided to ways in seculex

Round: Group Discussion
Duration: 4 hours 15 minutes

Skills: Modifications To Advanced Data Structures

Interview Questionnaire 

6 Questions

  • Q1. Write net and clean code to print a matrix in spiral order
  • Ans. 

    Print a matrix in spiral order using clean and efficient code

    • Create four variables to keep track of the boundaries of the matrix

    • Use a while loop to iterate through the matrix in a spiral order

    • Print each element as you iterate through the matrix

    • Update the boundaries of the matrix after each iteration

  • Answered by AI
  • Q2. Lot off discussion on project. Lot of questions on python and oops (My project was in Python+django)
  • Q3. He asked me a real time question. You have 1 billion sentences and sentence which will be given by user you have to return maximum matching sentence from 1 billion sentences
  • Q4. Finally he asked me a puzzle which was similar to public private key in cryptography
  • Q5. Lot of questions on c++ and java (eg. what is memory leak)
  • Q6. It was HR round she asked me simple behavior questions

Interview Preparation Tips

Round: Test
Experience: First Round had 15 questions . It contains 5 English questions (reading comprehension) and 10 aptitude.

Tips: Prepare well aptitude and puzzles.
Duration: 30 minutes
Total Questions: 15

Round: Test
Experience: Second round consist 5 data interpretation questions based on data which was given in question paper.
it was pen paper round.
Duration: 15 minutes
Total Questions: 5

Round: Technical Interview
Experience: The Interview Process started with around 15 candidates. First interview run almost one and half hour .

Tips: Be frank with interviewer and ask him all the test cases whichever you are thinking.
Practice write code on paper.
Prepare well string data structure (eg. Trie , Suffix Tree , Suffix Array).
all the best

Round: Technical Interview
Experience: The Interview Process started with around 8 candidates and 3 of them selected.
Tips: Prepare oops concept and basic concept of c and c++(Memory leak , Garbage memory , Dangling pointer ).

Skills: Coding , Presence of mind
College Name: NIT Jalandhar

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Tech Mahindra Foundation Interview FAQs

How many rounds are there in Tech Mahindra Foundation Software Developer interview?
Tech Mahindra Foundation interview process usually has 2 rounds. The most common rounds in the Tech Mahindra Foundation interview process are Aptitude Test and HR.

Recently Viewed

PHOTOS

InsuranceDekho

3 office photos

LIST OF COMPANIES

Credit Bajaar

Overview

INTERVIEWS

Wingman Partners

No Interviews

INTERVIEWS

GHCL Limited

No Interviews

INTERVIEWS

Acma Computers

No Interviews

CAMPUS PLACEMENT

Amity School of Engineering, Noida

INTERVIEWS

GHCL Limited

No Interviews

JOBS

GHCL Limited

No Jobs

INTERVIEWS

StoneX Group

No Interviews

INTERVIEWS

Ksolves India Limited

No Interviews

Tell us how to improve this page.

Faculty Associate
19 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant Manager
10 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate
9 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Project Manager
7 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Soft Skills Trainer
7 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Tech Mahindra Foundation with

Tata Trusts

4.4
Compare

Reliance Foundation India

4.1
Compare

HCL Foundation

4.1
Compare

Bharti Foundation

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview