Add office photos
Engaged Employer

NoBroker

3.2
based on 2.1k Reviews
Video summary
Filter interviews by

Neo Tangent Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Vertical Order Traversal of a Binary Tree

Given a binary tree, your task is to return the vertical order traversal of its nodes' values.

For each node located at a position (X, Y), its left child will be at (X-...read more

Ans.

Vertical order traversal of a binary tree is required to be implemented for given input format and constraints.

  • Implement a function to perform vertical order traversal of a binary tree

  • Maintain the order of nodes based on their positions (X, Y)

  • Handle cases where two nodes have the same position by considering the left node first

  • Follow the input and output format as specified in the question

Add your answer
Q2. Why is Java considered an Object Oriented Programming Language?
Ans.

Java is considered an Object Oriented Programming Language because it supports the key principles of OOP such as encapsulation, inheritance, and polymorphism.

  • Java allows for the creation of classes and objects, which are the building blocks of OOP.

  • It supports encapsulation by allowing data hiding within classes.

  • Inheritance is supported in Java, allowing classes to inherit attributes and methods from other classes.

  • Polymorphism is achieved through method overloading and overrid...read more

View 1 answer

Q3. What is OOPs concept. Why is java called an Object Oriented Programming Language. What benefit does java have as an OOP language?

Ans.

OOPs stands for Object Oriented Programming. Java is called an OOP language because it follows the principles of OOP.

  • OOPs is a programming paradigm that focuses on objects and their interactions.

  • Java supports the four main principles of OOP: encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation allows bundling of data and methods into a single unit, providing data hiding and security.

  • Inheritance enables the creation of new classes by inheriting properties an...read more

View 1 answer
Q4. What are indexing and partitioning in DBMS?
Ans.

Indexing and partitioning are techniques used in DBMS to improve performance by organizing data efficiently.

  • Indexing involves creating an index on a column in a database table to speed up data retrieval. It works like an index in a book, allowing the database to quickly locate the desired data.

  • Partitioning involves dividing a large table into smaller, more manageable parts called partitions. This can improve query performance by reducing the amount of data that needs to be sc...read more

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

Q5. Design the table diagram and the ways different tables will be linked for a movie booking website like bookmyshow.

Ans.

Design table diagram and link tables for a movie booking website like bookmyshow.

  • Create tables for movies, theaters, users, bookings, payments, and reviews

  • Link movies and theaters through a many-to-many relationship

  • Link users and bookings through a one-to-many relationship

  • Link bookings and payments through a one-to-one relationship

  • Link movies and reviews through a one-to-many relationship

Add your answer

Q6. What is indexing and partioning in dbms?

Ans.

Indexing and partitioning are techniques used in DBMS to improve performance and manage large amounts of data.

  • Indexing is the process of creating a data structure that allows for faster retrieval of data based on certain columns or fields.

  • Partitioning involves dividing a large table into smaller, more manageable parts called partitions, which can be stored on different disks or servers.

  • Both techniques can improve query performance, reduce storage costs, and make it easier to ...read more

Add your answer

Q7. Low Level Design: Design a movie site booking portal using objects and classes.

Ans.

Design a movie booking portal using objects and classes.

  • Create a Movie class with attributes like title, genre, duration, etc.

  • Create a Theater class with attributes like name, location, capacity, etc.

  • Create a Show class with attributes like movie, theater, showtime, price, etc.

  • Create a Booking class with attributes like show, seats, user, etc.

  • Implement methods for booking tickets, canceling tickets, etc.

  • Use database to store movie, theater, show, and booking information.

Add your answer

Q8. Print vertical level traversal in a binary tree.

Ans.

Print the vertical level traversal of a binary tree.

  • Traverse the tree and assign horizontal distance to each node.

  • Store nodes in a map with their horizontal distance as key.

  • Print nodes in each horizontal distance in vertical order.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Backend Developer Interview Questions from Similar Companies

3.9
 • 12 Interview Questions
4.1
 • 11 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

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