Join Regular Classroom : Visit ClassroomTech

May 2022

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 »