Add office photos
Engaged Employer

Travclan Technology India

3.0
based on 70 Reviews
Filter interviews by

Gulgan Business Solution Interview Questions and Answers

Updated 15 Mar 2024

Q1. Minimum Cost to Destination

You are given an NxM matrix consisting of '0's and '1's. A '1' signifies that the cell is accessible, whereas a '0' indicates that the cell is blocked. Your task is to compute the mi...read more

Ans.

Find the minimum cost to reach a destination in a matrix with specified rules.

  • Use Breadth First Search (BFS) algorithm to explore all possible paths from the starting point to the destination.

  • Keep track of the cost incurred at each cell and update it as you move through the matrix.

  • Return the minimum cost to reach the destination or -1 if it is unreachable.

  • Consider edge cases such as when the starting point is the destination or when the destination is blocked.

Add your answer

Q2. Maximum of All Subarrays of Size k

Given an array of 'N' non-negative integers and an integer 'K', your task is to find the maximum elements for each subarray of size 'K'.

Input:

The first line contains an inte...read more
Ans.

Find the maximum elements for each subarray of size 'K' in a given array of non-negative integers.

  • Iterate through the array and maintain a deque to store the indices of elements in decreasing order.

  • Pop elements from the deque if they are out of the current window of size 'K'.

  • The front of the deque will always have the index of the maximum element for the current window.

Add your answer

Q3. Sum Between Zeroes Problem Statement

Given a singly linked list containing a series of integers separated by the integer '0', modify the list by merging nodes between two '0's into a single node. This merged no...read more

Ans.

Given a singly linked list with integers separated by '0', merge nodes between '0's into a single node with sum of included nodes.

  • Traverse the linked list and keep track of sum between zeroes

  • Merge nodes between zeroes by updating the sum in the merged node

  • Update the linked list by removing the nodes between zeroes

  • Handle edge cases like list starting and ending with '0'

Add your answer

Q4. Convert Min Heap to Max Heap Problem Statement

Given an array representation of a min-heap of size 'n', your task is to convert this array into a max-heap.

Input:

The first line of input contains an integer ‘T’...read more
Ans.

Convert a given array representing a min-heap into a max-heap.

  • Iterate through the array and swap parent nodes with their children to convert min-heap to max-heap.

  • Maintain the heap property by comparing parent with its children and swapping if necessary.

  • Ensure the final array satisfies the max-heap property where parent nodes are greater than their children.

Add your answer
Discover Gulgan Business Solution interview dos and don'ts from real experiences

Q5. Snake and Ladder Problem Statement

Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, find th...read more

Ans.

Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.

  • Create a graph representation of the board with snakes and ladders as edges.

  • Use Breadth First Search (BFS) to find the shortest path from the starting cell to the last cell.

  • Keep track of visited cells and the number of dice throws at each cell.

  • Handle cases where the last cell is unreachable by returning -1.

  • Consider the special cases where the last cell is reached through a lad...read more

Add your answer

Q6. What does Travclan do?

Ans.

Travclan is a fintech platform that provides automated solutions for managing finances and payments for travel agencies.

  • Provides automated solutions for managing finances and payments

  • Specifically tailored for travel agencies

  • Helps streamline financial processes and improve efficiency

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

Interview Process at Gulgan Business Solution

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

Top Interview Questions from Similar Companies

3.8
 • 1.7k Interview Questions
3.9
 • 414 Interview Questions
3.9
 • 214 Interview Questions
3.9
 • 209 Interview Questions
3.5
 • 182 Interview Questions
3.7
 • 140 Interview Questions
View all
Top Travclan Technology India 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
75 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