Add office photos
Employer?
Claim Account for FREE

Manhattan Associates

3.9
based on 305 Reviews
Filter interviews by

Qcon Interview Questions and Answers

Updated 22 May 2024

Q1. How to pour exact half water from one container to other without knowing the measurements?

Ans.

Use the tilt method to pour exact half water from one container to other without measurements.

  • Fill both containers with water

  • Tilt one container slowly until water reaches the halfway mark

  • Stop pouring when the water level reaches halfway in the other container

View 1 answer

Q2. A dog fell into 30 feet well, trying to climb up to the ground. It will climb 3 feets a day, but in night it will drop 2 feets, So how many days do dog required to reach ground?

Ans.

The dog will take 28 days to reach the ground.

  • The dog climbs 1 foot (3 feet climb - 2 feet drop) each day.

  • It needs to climb 30 feet to reach the ground.

  • So, it will take 30 days to climb 30 feet, but it will already be on the ground on the 28th day.

View 1 answer

Q3. Swap adjacent elements of linked list. Reverse a linked list. Insertion in a linked list

Ans.

Swap adjacent elements, reverse and insert in a linked list.

  • To swap adjacent elements, we need to traverse the linked list and swap the nodes.

  • To reverse a linked list, we need to traverse the list and change the pointers of each node to point to the previous node.

  • To insert a node in a linked list, we need to find the position where we want to insert the node and change the pointers of the nodes accordingly.

Add your answer

Q4. What are the different types of joins in SQL?

Ans.

Different types of joins in SQL include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.

  • INNER JOIN: Returns rows when there is at least one match in both tables.

  • LEFT JOIN: Returns all rows from the left table and the matched rows from the right table.

  • RIGHT JOIN: Returns all rows from the right table and the matched rows from the left table.

  • FULL JOIN: Returns rows when there is a match in one of the tables.

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

Q5. Design patterns Shared pointers

Ans.

Shared pointers are a type of smart pointer used in C++ to manage memory allocation.

  • Shared pointers allow multiple pointers to refer to the same object, automatically managing the object's lifetime.

  • They use reference counting to keep track of how many pointers are pointing to the object.

  • When the last shared pointer goes out of scope, the object is automatically deleted.

  • They help prevent memory leaks and dangling pointers.

  • Example: std::shared_ptr ptr1 = std::make_shared();

  • Exam...read more

Add your answer

Q6. Examples of Overloading and Overriding

Ans.

Overloading is using the same method name with different parameters. Overriding is creating a new implementation of a method in a subclass.

  • Overloading allows multiple methods with the same name but different parameters.

  • Overriding allows a subclass to provide its own implementation of a method from its superclass.

  • Overloading is resolved at compile-time while overriding is resolved at runtime.

  • Examples of overloading: print(int), print(float), print(string)

  • Examples of overriding...read more

Add your answer

Q7. 4 pillars of java

Ans.

The 4 pillars of Java are abstraction, encapsulation, inheritance, and polymorphism.

  • Abstraction: Hides complex implementation details and only shows the necessary features.

  • Encapsulation: Bundles data and methods into a single unit, preventing direct access to data.

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

  • Polymorphism: Enables objects to be treated as instances of their parent class.

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

Interview Process at Qcon

based on 6 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 158 Interview Questions
3.8
 • 20 Interview Questions
4.1
 • 12 Interview Questions
3.8
 • 12 Interview Questions
4.3
 • 11 Interview Questions
3.9
 • 10 Interview Questions
View all
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