VassarLabs
3M Interview Questions and Answers
Q1. Rotate array clockwise K times, implement binary search
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
Q2. Explain Linked list implementation and stack
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.
Q3. Implement linked list and its operations
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.
Q4. How would you go about designing a Unified Platform for Water Visibility for a state.
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
Q5. What are the main concepts of Object-Oriented Programming (OOP)?
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.
Q6. Oops concepts in java
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
Q7. Do you have more experience using ETABS?
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
Q8. Linked list implementation
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
Interview Process at 3M
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month