Join Regular Classroom : Visit ClassroomTech

Tech Mahindra Questions

Tech Mahindra Aptitude Solve | Set-B | Part II | codewindow.in

Question 1 Answer Question 1 Complete the sentences by choosing TWO words either of which will fit the blank. The two words must both produce a sentence with the SAME overall meaning. Both choices must be correct. Farmers are ____ because they provide communities with fruits and vegetables. A. ImportantB. LearnedC. StoppedD. EnlightenedE. Significant Answer …

Tech Mahindra Aptitude Solve | Set-B | Part II | codewindow.in Read More »

Tech Mahindra Coding Question Solve | Set-B | Part II | codewindow.in

Previous Question DuplicatesWrite a function to remove duplicate elements from an array and return the array with unique integer values only. Input Specification:input1: An integer array containing numbersinput2: Length of the above integer array Output Specification:Return an integer array after removal of duplicate values Example 1 Input: input1: 11 11 11 13 13 20input2: 6 …

Tech Mahindra Coding Question Solve | Set-B | Part II | codewindow.in Read More »

Tech Mahindra Coding Question Solve | Set-B | Part I | codewindow.in

Previous Question Find HCF (Highest common factor) of n numbers given in an integer array. Fill in the function HCF() and return the HCF. Input Specification:input1: the size arrayinput2: an integer arrayOutput specification:Return the HCF of given numbers. Example 1 Input 1:3 Input 2: 2 4 8 Output:2 Explanation:The common factor for 2, 4, and …

Tech Mahindra Coding Question Solve | Set-B | Part I | codewindow.in Read More »

Tech Mahindra Coding Question Solve | Set-A | Part II | codewindow.in

Previous Question Regions on a Plane Mr. Professor is a great scientist, but he is not able to find a solution to one problem. There are N straight lines that are not parallel, and no three lines go through the same point. The lines divide the plane into M regions. Write a function to find …

Tech Mahindra Coding Question Solve | Set-A | Part II | codewindow.in Read More »