Add office photos
Employer?
Claim Account for FREE

VassarLabs

3.1
based on 40 Reviews
Filter interviews by

3M Interview Questions and Answers

Updated 13 Dec 2024

Q1. Rotate array clockwise K times, implement binary search

Ans.

Rotate array clockwise K times, implement binary search

  • Rotate the array by reversing the array and then reversing the first K elements and then reversing the remaining elements

  • Implement binary search by dividing the array into two halves and comparing the middle element with the target

  • Repeat the binary search until the target is found or the array is exhausted

Add your answer

Q2. Explain Linked list implementation and stack

Ans.

Linked list is a data structure where each element points to the next element. Stack is a data structure that follows Last In First Out (LIFO) principle.

  • Linked list implementation involves creating nodes with data and a pointer to the next node.

  • Stack implementation involves pushing elements onto the stack and popping them off in reverse order.

  • Example: Linked list - 1 -> 2 -> 3 -> NULL, Stack - push(1), push(2), push(3), pop() returns 3.

Add your answer

Q3. Implement linked list and its operations

Ans.

A linked list is a data structure where each element points to the next element. Operations include insertion, deletion, and traversal.

  • To insert a new element, create a new node and update the pointers of the previous and next nodes.

  • To delete an element, update the pointers of the previous and next nodes to skip the node to be deleted.

  • Traversal involves starting at the head node and following the pointers to each subsequent node.

Add your answer

Q4. How would you go about designing a Unified Platform for Water Visibility for a state.

Ans.

Designing a Unified Platform for Water Visibility for a state.

  • Conduct research on existing water management systems in the state

  • Identify key stakeholders and their requirements

  • Develop a user-friendly interface for data collection and analysis

  • Ensure data accuracy and security

  • Integrate real-time monitoring systems for water quality and quantity

  • Provide actionable insights and recommendations for decision-making

  • Collaborate with government agencies and private organizations for im...read more

Add your answer
Discover 3M interview dos and don'ts from real experiences

Q5. What are the main concepts of Object-Oriented Programming (OOP)?

Ans.

Main concepts of OOP include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (object).

  • Inheritance: Creating new classes based on existing classes, allowing for code reuse.

  • Polymorphism: Objects of different classes can be treated as objects of a common superclass.

  • Abstraction: Hiding complex implementation details and showing only the necessary features.

Add your answer

Q6. Oops concepts in java

Ans.

Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Polymorphism: Ability of a method to do different things based on the object it is acting upon.

  • Abstraction: Hiding the implementation details and showing only the necessary feature...read more

Add your answer

Q7. Do you have more experience using ETABS?

Ans.

Yes, I have extensive experience using ETABS in various structural engineering projects.

  • I have been using ETABS for over 5 years in designing and analyzing structural systems.

  • I have successfully completed multiple projects using ETABS, including high-rise buildings and industrial structures.

  • I am proficient in creating complex models, performing dynamic analysis, and interpreting results in ETABS.

  • I have attended advanced training courses to enhance my skills in ETABS.

  • I have co...read more

Add your answer

Q8. Linked list implementation

Ans.

Linked list is a data structure where each element points to the next element in the sequence.

  • Nodes contain data and a reference to the next node

  • Insertion and deletion can be done efficiently

  • Traversal starts from the head node

  • Example: Singly linked list, Doubly linked list

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

Interview Process at 3M

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

Top Interview Questions from Similar Companies

3.6
 • 4.5k Interview Questions
3.8
 • 1.6k Interview Questions
4.0
 • 371 Interview Questions
3.9
 • 303 Interview Questions
4.0
 • 172 Interview Questions
4.2
 • 165 Interview Questions
View all
Top VassarLabs 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