Home
Jobs
Interview Questions for Hexaview Technologies Inc.

1. What is stable partition?

2. What are classes and objects? How do they differ?

3. What is Oops? Difference between struct and union. Difference betwen Abstraction and Encapsulation.

4. Time to Burn Tree Problem You are given a binary tree consisting of 'N' unique nodes and a start node where the burning will commence. The task is to calculate the time in minutes required to completely burn the entire tree, given that the starting node is guaranteed to be present in the tree. Every minute, the fire will spread from a burning node to its adjacent nodes, causing them to catch fire. Input: The first line contains the elements of the tree in level order form, separated by spaces, where a null node is represented by -1.The second line contains the value of the start node. Output: A single integer representing the time in minutes necessary to burn the entire tree. Example: Input: 1 2 3 -1 -1 4 5 -1 -1 -1 -1 3 Output: 2 Explanation: Initial state: 1 / \ 2 3 / \ 4 5Minute 0: Node 3 starts burning.Minute 1: Nodes 1, 4, and 5 catch fire.Minute 2: Node 2 burns. The entire tree is burnt by this time. Constraints: 1 <= N <= 10^5 1 <= ext{Value of Tree Node} <= 10^9 1 <= ext{Value of Start Node} <= 10^9 Time limit: 1 second

5. ACID Properties

cta

Start Your Job Search Today

Browse through a variety of job opportunities tailored to your skills and preferences. Filter by location, experience, salary, and more to find your perfect fit.

Job Application AI Bot

Job Application AI Bot

Apply to 20+ Portals in one click

Download Now

Download the Mobile App

Instantly access job listings, apply easily, and track applications.

Job Titles Overview