Add office photos
Engaged Employer

MapleLabs

3.9
based on 53 Reviews
Filter interviews by

10+ Mythri Infrastructure and Mining Interview Questions and Answers

Updated 23 Feb 2024

Q1. Implementing collections using Java

Ans.

Implementing collections in Java involves using built-in classes like ArrayList, HashMap, and LinkedList.

  • Use ArrayList for dynamic arrays

  • Use HashMap for key-value pairs

  • Use LinkedList for linked list implementation

Add your answer

Q2. Write a program to count vowels in your name

Ans.

A program to count vowels in a given name

  • Create a function that takes a string as input

  • Loop through each character in the string and check if it is a vowel (a, e, i, o, u)

  • Increment a counter for each vowel found

  • Return the total count of vowels

Add your answer

Q3. Why C is faster than python

Ans.

C is faster than Python due to its lower-level nature and direct hardware access.

  • C is a compiled language, while Python is an interpreted language.

  • C code is directly translated into machine code, while Python code is executed line by line.

  • C has direct access to hardware, while Python relies on external libraries for such access.

Add your answer

Q4. Difference between python and C

Ans.

Python is a high-level, interpreted language known for its simplicity and readability, while C is a low-level, compiled language known for its speed and efficiency.

  • Python is dynamically typed, while C is statically typed.

  • Python has automatic memory management, while C requires manual memory management.

  • Python is platform-independent, while C is platform-dependent.

  • Python is commonly used for web development and data analysis, while C is often used for system programming and emb...read more

Add your answer
Discover Mythri Infrastructure and Mining interview dos and don'ts from real experiences

Q5. Implement Linked list

Ans.

Implement a linked list data structure in a programming language.

  • Create a Node class with data and a reference to the next node

  • Implement methods to add, remove, and search for elements in the linked list

  • Handle edge cases like adding to an empty list or removing the last element

Add your answer

Q6. All operations on Linked list

Ans.

Operations on Linked list include insertion, deletion, traversal, and searching.

  • Insertion: Add a new node at the beginning, end, or middle of the linked list.

  • Deletion: Remove a node from the linked list based on a given key or position.

  • Traversal: Visit each node in the linked list to perform operations or display data.

  • Searching: Find a specific node in the linked list based on a given key or value.

Add your answer
Are these interview questions helpful?

Q7. Write quick sort

Ans.

Quick sort is a divide-and-conquer algorithm that sorts an array by partitioning it into smaller sub-arrays.

  • Choose a pivot element from the array

  • Partition the array into two sub-arrays based on the pivot element

  • Recursively apply quick sort to the sub-arrays

  • Combine the sorted sub-arrays to get the final sorted array

Add your answer

Q8. What is singleton design patterns and how to create a singleton class

Ans.

Singleton design pattern ensures only one instance of a class is created and provides global access to it.

  • Create a private constructor to prevent direct instantiation

  • Create a private static instance of the class

  • Provide a public static method to access the instance

  • Ensure thread safety by using synchronized keyword or static initializer

  • Examples: Logger, Configuration Manager, Database Connection

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Print a list without duplicate

Ans.

To print a list without duplicates, use a set to remove duplicates and then convert it back to a list.

  • Create a set from the list to remove duplicates

  • Convert the set back to a list

  • Print the list

Add your answer

Q10. Find the loop in a circular linked list

Ans.

To find the loop in a circular linked list, we use Floyd's cycle-finding algorithm.

  • Initialize two pointers, slow and fast, both pointing to the head of the linked list.

  • Move slow pointer by one node and fast pointer by two nodes in each iteration.

  • If there is a loop, both pointers will eventually meet at some node.

  • To find the starting point of the loop, reset the slow pointer to the head and move both pointers by one node in each iteration until they meet again.

Add your answer

Q11. One achivement you are proud of

Ans.

I developed a software tool that automated a manual process, saving the company 50% of their time and resources.

  • Developed a software tool that automated a manual process

  • Saved the company 50% of their time and resources

  • Received recognition from management for the achievement

Add your answer

Q12. Difference between single LL and double LL

Ans.

Single LL has one pointer to the next node, while double LL has two pointers - one to the next node and one to the previous node.

  • Single LL: Each node has a pointer to the next node only

  • Double LL: Each node has a pointer to the next node and the previous node

  • Single LL is simpler and uses less memory compared to double LL

  • Double LL allows for easier traversal in both directions

Add your answer

Q13. Implement Linkedlist insertion,deletions

Ans.

Implementing Linkedlist insertion and deletion operations in a programming language.

  • Create a Node class with data and next pointer

  • Implement insertion at the beginning, end, and at a specific position

  • Implement deletion by value or at a specific position

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

Interview Process at Mythri Infrastructure and Mining

based on 13 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 2.1k Interview Questions
3.8
 • 393 Interview Questions
3.6
 • 184 Interview Questions
4.1
 • 155 Interview Questions
3.7
 • 140 Interview Questions
3.6
 • 131 Interview Questions
View all
Top MapleLabs 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

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