Add office photos
Bharti Airtel logo
Employer?
Claim Account for FREE

Bharti Airtel

4.0
based on 13.8k Reviews
Video summary
Filter interviews by
Software Engineer
Clear (1)

10+ Bharti Airtel Software Engineer Interview Questions and Answers

Updated 23 May 2024

Q1. N-th Fibonacci Number Problem Statement

Given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo ...read more

Ans.

The task is to find the Nth Fibonacci number using matrix exponentiation and return the answer modulo 10^9 + 7.

  • Implement a function to find the Nth Fibonacci number using matrix exponentiation.

  • Return the answer modulo 10^9 + 7 to handle large values.

  • Use the formula F(n) = F(n-1) + F(n-2) with initial values F(1) = F(2) = 1.

  • Optimize the solution to achieve better than O(N) time complexity.

  • Consider solving the problem using dynamic programming or matrix exponentiation technique...read more

Add your answer
right arrow

Q2. Covid Vaccination Distribution Problem

As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is to ma...read more

Ans.

Given constraints and rules, maximize vaccines administered on a specific day during a vaccination drive.

  • Iterate through each test case and calculate the maximum number of vaccines administered on the specified day.

  • Distribute the available vaccines evenly across the days while adhering to the rules.

  • Ensure that the sum of vaccines administered does not exceed the maximum allowed.

  • Maximize the vaccines administered on the specified day to meet the requirements.

Add your answer
right arrow

Q3. Swap Kth Elements in an Array

Given an array ARR of size N, perform the operation to swap the Kth element from the beginning with the Kth element from the end of the array.

Example:

Input:
N = 5, K = 2
ARR = [1,...read more
Ans.

Swap Kth elements in an array with given constraints.

  • Create a function that takes the array, K value, and size of the array as input

  • Swap the Kth element from the beginning with the Kth element from the end

  • Handle edge cases like K being out of bounds or array size being less than 2

Add your answer
right arrow
Q4. You are given a string. What is the minimum number of characters that need to be inserted to convert it into a palindrome?
Ans.

The minimum number of characters needed to convert a string into a palindrome is the length of the string minus the length of the longest palindromic subsequence of the string.

  • Find the longest palindromic subsequence of the given string.

  • Subtract the length of the longest palindromic subsequence from the length of the original string to get the minimum number of characters needed to convert it into a palindrome.

Add your answer
right arrow
Discover Bharti Airtel interview dos and don'ts from real experiences
Q5. Have you ever solved a complex Java problem on your own?
Ans.

Yes, I have solved a complex Java problem on my own.

  • I once had to optimize a large-scale Java application by implementing multithreading to improve performance.

  • I successfully debugged a memory leak issue in a Java program by analyzing heap dumps and identifying the root cause.

  • I designed and implemented a custom data structure in Java to efficiently solve a specific problem.

Add your answer
right arrow

Q6. Why react is fast than other frameworks

Ans.

React is faster than other frameworks due to its virtual DOM, efficient diffing algorithm, and use of server-side rendering.

  • React uses a virtual DOM which allows it to update only the necessary components instead of re-rendering the entire page.

  • React's efficient diffing algorithm compares the virtual DOM with the actual DOM to minimize updates and improve performance.

  • React supports server-side rendering, which can improve initial load times by rendering the UI on the server b...read more

Add your answer
right arrow

Q7. What is MFS in abinitio?

Ans.

MFS in Abinitio stands for Multi-File System, which is a feature that allows Abinitio graphs to read/write data from multiple files simultaneously.

  • MFS allows parallel processing of data from multiple files in Abinitio graphs

  • It helps in improving performance by distributing the workload across multiple files

  • MFS can be configured to read/write data from/to different file systems or locations

  • Example: Using MFS, a graph can read data from multiple input files and write the output...read more

Add your answer
right arrow

Q8. JavaScript prototype sorting function

Ans.

JavaScript prototype sorting function for arrays of strings

  • Use the Array.prototype.sort() method to sort an array of strings

  • Pass a compare function to specify the sorting order

  • Example: ['banana', 'apple', 'cherry'].sort((a, b) => a.localeCompare(b))

Add your answer
right arrow

Q9. Session Management in applications

Ans.

Session management is the process of securely managing user sessions in web applications.

  • Use cookies or tokens to track user sessions

  • Implement session timeout to prevent unauthorized access

  • Store session data securely on the server side

  • Use HTTPS to encrypt session data during transmission

Add your answer
right arrow

Q10. Promise polyfill from scratch

Ans.

Creating a Promise polyfill from scratch involves implementing the Promise API using callbacks and handling asynchronous operations.

  • Understand the Promise API and its methods (resolve, reject, then, catch)

  • Implement a constructor function that takes an executor function as an argument

  • Handle asynchronous operations using callbacks and setTimeout

  • Implement the then and catch methods to handle success and error cases respectively

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

Interview Process at Bharti Airtel Software Engineer

based on 6 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

Wipro Logo
3.7
 • 124 Interview Questions
Qualcomm Logo
3.8
 • 45 Interview Questions
Tekion Logo
3.1
 • 15 Interview Questions
Snapdeal Logo
3.8
 • 12 Interview Questions
View all
Recently Viewed
INTERVIEWS
Carrier Technologies
No Interviews
INTERVIEWS
Persistent Systems
No Interviews
INTERVIEWS
Srei Sahaj e-Village
No Interviews
LIST OF COMPANIES
Discover companies
Find best workplace
INTERVIEWS
Caresoft Global
No Interviews
INTERVIEWS
Rockwell Automation
No Interviews
INTERVIEWS
Customer Centria
No Interviews
INTERVIEWS
LG Electronics
No Interviews
INTERVIEWS
Coforge
No Interviews
INTERVIEWS
Apisero
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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