Add office photos
Engaged Employer

Bhavna Corp.

3.2
based on 125 Reviews
Filter interviews by

MATHEUS IT SOLUTION Interview Questions and Answers

Updated 21 Dec 2024

Q1. What is Heap sort. Write it's structure and explain max and min heap

Ans.

Heap sort is a comparison-based sorting algorithm that uses a binary heap data structure.

  • Heap sort involves building a heap from the input array and then repeatedly removing the largest (for max heap) or smallest (for min heap) element from the heap and adding it to the sorted array.

  • The structure of heap sort involves two main steps: heapify the input array to create a heap and then repeatedly extract the root element to get the sorted array.

  • Max heap is a binary tree where th...read more

Add your answer

Q2. Data hiding in c#

Ans.

Data hiding in C# refers to the practice of encapsulating data within a class to restrict access from outside the class.

  • Data hiding is achieved in C# using access modifiers like private, protected, and internal.

  • Private members can only be accessed within the same class.

  • Protected members can be accessed within the same class or derived classes.

  • Internal members can be accessed within the same assembly.

  • Encapsulation is used to hide the internal state of an object and only expose...read more

Add your answer

Q3. Print Linked List in reverse order using Stack

Ans.

Use a stack to reverse print a linked list

  • Create a stack to store the elements of the linked list

  • Traverse the linked list and push each element onto the stack

  • Pop elements from the stack and print them to get the reverse order

Add your answer

Q4. Write code for finding duplicate charecters

Ans.

Code to find duplicate characters in an array of strings

  • Iterate through each string in the array

  • For each string, iterate through each character and store in a set

  • If a character is already in the set, it is a duplicate

Add your answer
Discover MATHEUS IT SOLUTION interview dos and don'ts from real experiences

Q5. What are OOPS concepts in Java

Ans.

OOPS concepts in Java are fundamental principles of object-oriented programming such as inheritance, encapsulation, polymorphism, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class B extends class A.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

  • Polymorphism: Ability of a method to do different things based on t...read more

Add your answer

Q6. Sql query writing in detail

Ans.

SQL query writing involves creating commands to retrieve, manipulate, and manage data in a database.

  • Understand the database schema and relationships between tables

  • Use SELECT, INSERT, UPDATE, and DELETE statements to retrieve, add, modify, and delete data

  • Utilize WHERE, JOIN, GROUP BY, HAVING, and ORDER BY clauses for filtering, joining, grouping, and sorting data

  • Consider performance optimization techniques like indexing and query tuning

  • Practice writing complex queries involvin...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at MATHEUS IT SOLUTION

based on 10 interviews in the last 1 year
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.4
 • 488 Interview Questions
3.5
 • 417 Interview Questions
4.3
 • 275 Interview Questions
4.0
 • 264 Interview Questions
3.7
 • 257 Interview Questions
4.1
 • 154 Interview Questions
View all
Top Bhavna Corp. Interview Questions And Answers
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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