Add office photos
Employer?
Claim Account for FREE

Fractal Analytics

4.0
based on 828 Reviews
Video summary
Filter interviews by

Airtech Engineers Interview Questions and Answers

Updated 24 Aug 2024
Popular Designations

Q1. Longest Common Subsequence Problem Statement

Given two strings, S and T with respective lengths M and N, your task is to determine the length of their longest common subsequence.

A subsequence is a sequence tha...read more

Ans.

The task is to find the length of the longest common subsequence between two given strings.

  • Use dynamic programming to solve this problem efficiently.

  • Create a 2D array to store the lengths of longest common subsequences of substrings.

  • Iterate through the strings to fill the array and find the length of the longest common subsequence.

  • Example: For strings 'abcde' and 'ace', the longest common subsequence is 'ace' with length 3.

Add your answer

Q2. Car Pooling Capacity Problem

You are a cab driver with a car that initially has 'C' empty seats. The car moves in a straight line towards the forward direction only. Your job is to determine if it is possible t...read more

Ans.

Determine if it is possible to accommodate all passenger trips within a car's capacity without exceeding it at any point.

  • Iterate through each trip and keep track of the total number of passengers in the car at each point.

  • Check if the total number of passengers exceeds the car capacity at any point.

  • Return 'True' if all trips can be accommodated within the car capacity, otherwise return 'False'.

Add your answer

Q3. Nth Fibonacci Number Problem Statement

Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2), with initial conditions F(1) = F(2) = 1.

Input:

The inp...read more
Ans.

Calculate the Nth Fibonacci number efficiently using dynamic programming.

  • Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.

  • Start with base cases F(1) and F(2) as 1, then iterate to calculate subsequent Fibonacci numbers.

  • Time complexity can be optimized to O(N) using dynamic programming.

  • Example: For N = 5, the 5th Fibonacci number is 5.

Add your answer

Q4. What is Spark context

Ans.

Spark context is the main entry point for Spark functionality and represents the connection to a Spark cluster.

  • Main entry point for Spark functionality

  • Represents connection to a Spark cluster

  • Used to create RDDs, broadcast variables, and accumulators

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

Q5. What is inheritance

Ans.

Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.

  • Allows for code reusability by creating a new class based on an existing class

  • Derived class inherits properties and behaviors of the base class

  • Supports the concept of polymorphism and encapsulation

  • Example: Class 'Car' can inherit from class 'Vehicle' and inherit its attributes like 'color' and methods like 'drive()'

Add your answer

Q6. What is sparkconfig

Ans.

SparkConfig is a configuration object used in Apache Spark to set various parameters for Spark applications.

  • SparkConfig is used to set properties like application name, master URL, and other Spark settings.

  • It is typically created using SparkConf class in Spark applications.

  • Example: val sparkConf = new SparkConf().setAppName("MyApp").setMaster("local")

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

Interview Process at Airtech Engineers

based on 7 interviews
3 Interview rounds
Technical Round - 1
Technical Round - 2
Technical Round - 3
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.5
 • 77 Interview Questions
3.5
 • 22 Interview Questions
3.7
 • 22 Interview Questions
3.7
 • 15 Interview Questions
3.4
 • 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
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