MTS/R&D Software Developer

MTS/R&D Software Developer Interview Questions and Answers

Updated 8 Jun 2015

Q1. breaking a sentence into array of words and returning the base address

Ans.

The task is to break a sentence into an array of words and return the base address.

  • Use a loop to iterate through the sentence character by character

  • Identify word boundaries based on spaces or punctuation marks

  • Allocate memory for each word and copy the characters into the corresponding array element

  • Return the base address of the array

Q2. there is array of n numbers & u hv to find sum(=0) of m numbers

Ans.

Given an array of numbers, find a subset of numbers whose sum is zero.

  • Use a combination of numbers from the array to find subsets whose sum is zero.

  • Iterate through all possible combinations of numbers and check if their sum is zero.

  • Consider using recursion or backtracking to generate all possible combinations.

  • Optimize the solution by using memoization or dynamic programming to avoid redundant calculations.

Q3. design a class to implement search & insert for it

Ans.

Design a class to implement search & insert for an array of strings

  • Create a class with methods for search and insert

  • Use an array to store the strings

  • Implement a search method that iterates through the array and returns the index of the found string

  • Implement an insert method that adds a new string to the array

Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.9
 • 250 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

MTS/R&D Software Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter