Premium Employer

Maersk

4.2
based on 2.8k Reviews
Filter interviews by

Travel Corporation India Interview Questions and Answers

Updated 6 Jun 2024
Popular Designations

Q1. Sort 0s, 1s, and 2s Problem Statement

You are provided with an integer array/list ARR of size 'N' which consists solely of 0s, 1s, and 2s. Your task is to write a solution to sort this array/list.

Input:

The fi...read more
Add your answer

Q2. Fourth Largest Element in the Array

Given an array consisting of integers, your task is to determine the fourth largest element in the array. If the array does not contain at least four distinct elements, retur...read more

Add your answer

Q3. Binary Tree Node Presence Problem

Determine if a node with a given integer value X exists in a specified binary tree.

Input:

The first line of each test case contains the binary tree nodes in level order sequen...read more
Add your answer

Q4. Remove Duplicates Problem Statement

You are given an array of integers. The task is to remove all duplicate elements and return the array while maintaining the order in which the elements were provided.

Example...read more

Add your answer
Discover Travel Corporation India interview dos and don'ts from real experiences

Q5. Shortest Path in an Unweighted Graph

The city of Ninjaland is represented as an unweighted graph with houses and roads. There are 'N' houses numbered 1 to 'N', connected by 'M' bidirectional roads. A road conne...read more

Add your answer
Q6. Can you describe all the joins in SQL and illustrate them with a Venn diagram?
Add your answer

Q7. What is decorator in python

Ans.

Decorator in Python is a design pattern that allows adding new functionality to an existing object without modifying its structure.

  • Decorators are functions that take another function as an argument and extend its behavior without explicitly modifying it.

  • They are commonly used to add logging, timing, caching, or authentication to functions.

  • Syntax for using decorators in Python involves using the @ symbol followed by the decorator function name above the function definition.

  • Exa...read more

Add your answer

Q8. What is yeild in python

Ans.

yield is a keyword in Python used in generator functions to return a value without terminating the function

  • yield is used in generator functions to produce a series of values over time

  • When a generator function is called, it returns an iterator object but does not start execution immediately

  • Each time the yield statement is reached, the function's state is saved, and the value is returned to the caller

  • Execution of the function is paused until the next call to the generator's __n...read more

Add your answer

Q9. Architecture of current project

Ans.

The current project follows a microservices architecture.

  • The project is divided into multiple small services that communicate with each other through APIs.

  • Each service is responsible for a specific functionality.

  • The services are deployed independently and can be scaled as per the demand.

  • The project uses Docker containers for easy deployment and management.

  • The communication between services is secured using HTTPS protocol.

  • The project uses a message broker for asynchronous comm...read more

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

Interview Process at Travel Corporation India

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

Top Software Developer Interview Questions from Similar Companies

4.0
 • 81 Interview Questions
3.5
 • 54 Interview Questions
3.3
 • 24 Interview Questions
3.7
 • 23 Interview Questions
2.0
 • 22 Interview Questions
4.2
 • 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

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