Upload Button Icon Add office photos

Filter interviews by

OATIndia Software Developer Interview Questions and Answers

Updated 21 Sep 2021

OATIndia Software Developer Interview Experiences

1 interview found

I applied via Campus Placement and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Some basics stuffs ,asking question from resume and some question on databases

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview was easy not hard and tough ,you can crack the interview if you have some basic knowledge in web development and databases

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about OATIndia?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Oct 2019. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1. Core Java - OOPS features, Abstract classes and Interface, Inner Classes, String and Object Class, Equals and HashCode methods, Runtime and Compile time exception, Method overloading and overriding, Cus...

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. Clear Core java concepts firmly
2. Basic DB queries
3. Basic Unix commands

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more

I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Numerical and logical aptitude test

Round 3 - Coding Test 

There are 5 rounds on datastructure and algorithm

Interview Preparation Tips

Interview preparation tips for other job seekers - Nice hr and all team is suportive
Good and smoth interview experiance

I appeared for an interview before Sep 2020.

Round 1 - Video Call 

(1 Question)

Round duration - 1 hour
Round difficulty - Medium

  • Q1. 

    First Missing Positive Problem Statement

    You are provided with an integer array ARR of length 'N'. Your objective is to determine the first missing positive integer using linear time and constant space. T...

  • Ans. 

    Find the smallest positive integer missing from an array of integers.

    • Iterate through the array and mark positive integers as visited by changing the sign of the corresponding index.

    • After marking all positive integers, iterate again to find the first positive integer with a positive value.

    • Return the index of the first positive integer found plus one as the answer.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriaNoneMicrosoft interview preparation:Topics to prepare for the interview - Data structures, Pointers, Microsoft Cloud, Computer Architecture, Dynamic Programming, Azure Services,Time required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : During an interview, never say that you don't know the answer, keep trying and the interviewer will help you himself.
Tip 2 : Keep speaking up the approach going on in your mind, they want to judge your approaches much more than whether the answer is right or wrong.
Tip 3 : Be confident, cheerful, keep smiling, and continue making eye contact with the interviewer, this leaves a positive impression.
Tip 4 : Search and practice questions specific to the company, questions are repeated several times.
Tip 5 :  A sound knowledge of Microsoft Azure Services and cloud computing will be an icing on the cake, and increase your chances to get selected.
Tip 6 : Keep giving contests on coding platforms, it will help you to stay motivated and check your stand.
Tip 7 : Keep a daily goal of number of questions instead of the time duration.

Application resume tips for other job seekers

Tip 1 : Everything mentioned on the resume should be thoroughly known to you since if they catch you being dishonest, pretty good coding skills also might not help.
Tip 2 : Have projects related to the same field you are trying to apply for mentioned in your resume, this shows you are already experienced in the field.
Tip 3 : Adding references of some experienced people of the same field might help you gain their trust.
Tip 4 : Do not keep your resume too long, and do not mention irrelevant details, keep it short and crisp.
Tip 5 : Some experience in the field of operations and management or some positions of responsibility will really help you score extra points since it shows you have leadership qualities and are familiar with the market along with super coding skills.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Sep 2020.

Round 1 - Video Call 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Easy

Had some small chit-chat regarding how Work from Home is going on for him and me. Later he introduced himself and asked the same.
Coming to technical questions, he asked me the algorithm and also asked me to code the questions mentioned below. Discussed the time complexities and edge cases.

  • Q1. 

    Spiral Matrix Problem Statement

    You are given a N x M matrix of integers. Your task is to return the spiral path of the matrix elements.

    Input

    The first line contains an integer 'T' which denotes the nu...
  • Ans. 

    The task is to return the spiral path of elements in a given matrix.

    • Iterate over the matrix in a spiral path by keeping track of the boundaries.

    • Print the elements in the spiral path as you traverse the matrix.

    • Handle cases where the matrix is not a square matrix separately.

  • Answered by AI
  • Q2. 

    Group Anagrams Problem Statement

    Given an array or list of strings called inputStr, your task is to return the strings grouped as anagrams. Each group should contain strings that are anagrams of one anoth...

  • Ans. 

    Group anagrams in an array of strings based on character frequency.

    • Create a hashmap to store sorted strings as keys and corresponding anagrams as values.

    • Iterate through the input strings, sort each string, and add it to the hashmap.

    • Return the values of the hashmap as grouped anagrams.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

This round started without any introduction, and he directly jumped into the question. Asked me about the algorithm, and later coded it and ran it. And then he asked me to optimize it. Finally, he asked me if I had any questions.

  • Q1. 

    Tic-Tac-Toe Design Problem

    Design a 2-player Tic-Tac-Toe game played on an N * N grid where Player 1 uses ‘X’ and Player 2 uses ‘O’. A move is always valid and occupies an empty spot.

    If a player places ...

  • Ans. 

    Design a 2-player Tic-Tac-Toe game on an N x N grid where players take turns placing their marks, and the first player to get N marks in a row wins.

    • Implement a function move(row, col, player) to handle each player's move and check for a win condition.

    • Keep track of the board state and update it after each move.

    • Check for winning conditions horizontally, vertically, and diagonally after each move.

    • Return the result (0 for ...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteria8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structure, Operating System, Algorithms, Computer Networks, Quantitative AptitudeTime required to prepare for the interview - 12 MonthsInterview preparation tips for other job seekers

Tip 1 : Solve as many questions as you can
Tip 2 : Practice Quantitate aptitude.
Tip 3 : Don't lie on your resume.

Application resume tips for other job seekers

Tip 1 : Have some good projects.
Tip 2 : Don't lie on your resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Nov 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

This round was conducted in Hackerrank portal for a total duration of 95 minutes and was divided into 4 sections.

1st Section : Aptitude Section : 14 questions , 28 minutes
2nd Section : Technical Section : 12 questions , 17 minutes
3rd Section :1 coding Questions : 20 minutes+30 minutes

  • Q1. 

    Water Equalization Problem Statement

    You are provided with an array ARR of positive integers. Each integer represents the number of liters of water in a bucket. The goal is to make the liters of water in ...

  • Ans. 

    Given an array of water buckets, find the minimum liters of water to remove to make all buckets contain the same amount of water.

    • Iterate through the array to find the most common amount of water in the buckets.

    • Calculate the total liters of water that need to be removed to equalize all buckets to the most common amount.

    • Return the total liters of water to be removed.

  • Answered by AI
  • Q2. 

    Rat in a Maze Problem Statement

    You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...

  • Ans. 

    Find all possible paths for a rat in a maze from source to destination.

    • Use backtracking to explore all possible paths in the maze.

    • Keep track of visited cells to avoid revisiting them.

    • Explore all possible directions (up, down, left, right) from each cell.

    • Add the current direction to the path and recursively explore further.

    • If the destination is reached, add the path to the list of valid paths.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 120 Minutes
Round difficulty - Medium

This was an Online F2F Technical Round conducted on CodePair : Hackerrank. So, Basically You have to Run and Submit ( Pass All Test cases) in the Interview Round also (Like normal Coding Test) in Codepair : Hackerrank & along with that You should have to explain your Code and Approach to the Interviewers.
The Interviewers were helpful and didn't hesitate in giving hints.
Timing - 10:00 A.M to 12:00 P.M

  • Q1. 

    Minimum Fountains Activation Problem

    In this problem, you have a one-dimensional garden of length 'N'. Each position from 0 to 'N' has a fountain that can provide water to the garden up to a certain range...

  • Ans. 

    Find the minimum number of fountains to activate to water the entire garden.

    • Iterate through the array to find the coverage of each fountain.

    • Keep track of the farthest coverage reached by activating fountains.

    • Activate the fountain that covers the farthest point not yet covered.

    • Repeat until the entire garden is watered.

  • Answered by AI
  • Q2. 

    Minimize Cash Flow Problem

    You are provided with a list of 'transactions' involving 'n' friends who owe each other money. Each entry in the list contains information about a receiver, sender, and the tran...

  • Ans. 

    Minimize cash flow problem among friends by optimizing transactions.

    • Create a graph where nodes represent friends and edges represent transactions.

    • Calculate net amount each friend owes or is owed by summing up all transactions.

    • Use a recursive algorithm to minimize cash flow by settling debts between friends.

    • Update the graph and repeat the process until all debts are settled.

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Hard

A lot of Variants based on Constraints were asked in this Round. They will ask you to write the final code for every question before Submitting it(run all test cases) so you won’t get any hints after running test cases in the IDE. ( So don’t Submit your code before dry running it on a lot of Test Cases on pen & paper , they allow to use pen & blank paper at the time of Interviews) .The Interviewers tried to trick in case of time complexities even if you gave the best one. So try to be confident.

  • Q1. 

    Buy and Sell Stock Problem Statement

    Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...

  • Ans. 

    The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.

    • Iterate through the array of stock prices and keep track of the maximum profit that can be achieved by buying and selling at different points.

    • Maintain variables to store the maximum profit after the first transaction, the maximum profit after the second transaction, and the m...

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

This was HR Round. The HR was friendly and asked basic questions.
The timing was 2:00 PM to 2:30 PM.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteria4+ Years of ExperienceMicrosoft interview preparation:Topics to prepare for the interview - Dynamic Programming, OOPS, Computer Networks, Computer System Architecture, Operating System, Data Structures, PointersTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Make sure that you are thorough with CS concepts beforehand.
Tip 2 : Even when you are explaining the approach to a question, try to parallelly think about how you would code it.
Tip 3 : Read the previous interview experiences. It would give a fair idea of the kind of questions one should expect.
Tip 4 : For position like Microsoft SDE-1, practicing medium difficulty level coding questions would be the way to go.
Tip 5 : Practice atleast 200 questions from coding platforms like CodeZen, LeetCode, Interviewbit as they contain common interview questions.

Application resume tips for other job seekers

Tip 1 : Mention Projects and past work experience as it sets good impression.
Tip 2 : Keep your resume up to date for the role you are applying.
Tip 3 : Try to keep your resume of 1 Page.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

This round was the online coding test conducted on the platform Mettl. The languages allowed were C, C++, Java and Python. There were three questions. One was of graphs (Depth-first search), other was a big integer problem and the third was a string problem.

  • Q1. 

    Graph Coloring Problem Statement

    You are provided with a graph consisting of N vertices, numbered from 1 to N, and M edges. Your task is to color the graph using two colors, Blue and Red, such that no two...

  • Ans. 

    Given a graph with vertices and edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.

    • Check if the graph is bipartite using graph coloring algorithm like BFS or DFS.

    • If the graph is bipartite, return 'Possible' with a valid coloring assignment.

    • If the graph is not bipartite, return 'Impossible'.

  • Answered by AI
  • Q2. 

    String Compression Problem Statement

    Write a program to perform basic string compression. For each character that repeats consecutively more than once, replace the consecutive duplicate occurrences with t...

  • Ans. 

    Write a program to compress a string by replacing consecutive duplicate characters with the character followed by the number of repetitions.

    • Iterate through the string and count consecutive occurrences of each character

    • Append the character and its count to a new string

    • Return the compressed string if it is shorter than the original, else return the original string

    • Handle edge cases like single characters or when compresse...

  • Answered by AI
Round 2 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

This was a pen and paper subjective interview round. You were expected to write full code on paper. Make sure you use proper names for the variables and write comments explaining very clearly what the code does. Also, try writing code in good handwriting which can be understood by the interviewer.

  • Q1. Find the total number of palindromic substrings in a given string.
  • Ans. 

    Count total palindromic substrings in a given string.

    • Iterate through each character in the string and consider it as the center of a palindrome. Expand outwards to find all palindromic substrings.

    • Use dynamic programming to efficiently check if a substring is a palindrome.

    • Consider both odd-length and even-length palindromes.

    • Example: Input 'ababa', output 7 (a, b, a, b, a, aba, aba)

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 45 minutes
Round difficulty - Easy

The interview took place in the morning and the interviewer was very friendly.

  • Q1. 

    Count Inversions Problem Statement

    Let A[0 ... n-1] be an array of n distinct positive integers. An inversion of A is a pair of indices (i, j) such that i < j and A[i] > A[j]. Given an integer array...

  • Ans. 

    Count the number of inversions in an array of distinct positive integers.

    • Use merge sort algorithm to count inversions efficiently.

    • Divide the array into two halves and recursively count inversions in each half.

    • Merge the two sorted halves while counting split inversions.

    • Time complexity can be optimized to O(n log n) using merge sort.

    • Example: For input A = [2, 4, 1, 3, 5], the output should be 3.

  • Answered by AI
  • Q2. 

    Sum Tree Conversion Problem Statement

    Transform a given binary tree into a sum tree where each node is replaced by the sum of its immediate children's values. Leaf nodes should be replaced with 0. Then, p...

  • Ans. 

    Convert a binary tree into a sum tree by replacing each node with the sum of its children's values, and return the preorder traversal.

    • Traverse the tree recursively and replace each node with the sum of its children's values

    • Leaf nodes should be replaced with 0

    • Perform a preorder traversal on the transformed sum tree to get the final result

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

The HR Interview round was held in the morning and it was right after my technical interview.

Interview Preparation Tips

Professional and academic backgroundI completed Electrical Engineering from Indian Institute of Technology (Indian School of Mines), Dhanbad. I applied for the job as SDE - 1 in HyderabadEligibility criteria7 CGPAMicrosoft interview preparation:Topics to prepare for the interview - Data Structures - Arrays, Strings, Linked List, Trees, Binary Search Tree, Graph, Tries, Fenwick Trees, Segment Trees, Hashmap. Algorithms - Recursion, Ad Hoc, Dynamic Programming, Greedy, Binary Search, Breadth-first search, Depth-first search, Sorting .Time required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Just be confident during interview and if you are stuck in between any question, then ask for a hint from the interviewer. The practice is key for success, so practice hard for Data Structures and Algorithms coding problems on Coding ninjas as it is the best platform for coding. Also you may practice on Geeks For Geeks or any other interview portal. 

Application resume tips for other job seekers

Mention all internships which you have done, as it increases your chances of shortlisting your resume. Also just write that skills which you are pretty confident about.

Final outcome of the interviewSelected

Skills evaluated in this interview

Are these interview questions helpful?

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Easy

This round consists of 3 coding questions with a total time limit of 90 minutes. The first two questions were of easy level and the third question was of medium level. No two candidates had the same set of questions, the distribution of questions was random. The test was conducted on mettl platform with both audio and video on for monitoring on the candidate.

  • Q1. 

    Running Median Problem

    Given a stream of integers, calculate and print the median after each new integer is added to the stream.

    Output only the integer part of the median.

    Example:

    Input:
    N = 5  
    Stre...
  • Ans. 

    Calculate and print the median after each new integer is added to the stream.

    • Use two heaps - a max heap to store the smaller half of the numbers and a min heap to store the larger half.

    • Keep the sizes of the two heaps balanced to efficiently calculate the median.

    • If the total number of elements is odd, the median will be the top element of the max heap.

    • If the total number of elements is even, the median will be the avera...

  • Answered by AI
  • Q2. 

    Fruits and Baskets Problem Statement

    You are given 'n' fruit trees planted along a road, numbered from 0 to n-1. Each tree bears a fruit type represented by an uppercase English alphabet. A Ninja walking ...

  • Ans. 

    The Ninja must collect fruits from trees in consecutive order, maximizing the number of fruits in two baskets.

    • Iterate through the trees while keeping track of the types of fruits collected in each basket.

    • Use a sliding window approach to find the maximum number of fruits collected.

    • Keep track of the count of each fruit type encountered to handle the condition of only two types of fruits in each basket.

  • Answered by AI
  • Q3. 

    Dice Throws Problem Statement

    You are given D dice, each having F faces numbered from 1 to F. The task is to determine the number of possible ways to roll all the dice such that the sum of the face-up num...

  • Ans. 

    The task is to determine the number of possible ways to roll all the dice such that the sum of the face-up numbers equals the given 'target' sum.

    • Use dynamic programming to solve the problem efficiently.

    • Create a 2D array to store the number of ways to achieve each sum with the given number of dice.

    • Iterate through the dice and faces to calculate the number of ways to reach each sum.

    • Return the result modulo 10^9 + 7.

    • Optim...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 50 miutes
Round difficulty - Medium

This was my first interview and I was a bit nervous. The interview was conducted on Microsoft Team. He told me to share my screen and write the pseudo code on notepad. The interviewer was very friendly and also gave me hints for the question. However, he mostly focused on optimization of the code. At the end of the question, few questions related to Operating Systems were asked.

  • Q1. 

    Group Anagrams Problem Statement

    Given an array or list of strings called inputStr, your task is to return the strings grouped as anagrams. Each group should contain strings that are anagrams of one anoth...

  • Ans. 

    Group anagrams in an array of strings based on character frequency.

    • Iterate through each string in the input array

    • For each string, sort the characters and use the sorted string as a key in a hashmap to group anagrams

    • Return the grouped anagrams as arrays of strings

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Medium

The second round consisted questions related to concepts of object oriented programming and databases. At the end of the interview he asked me to explain any one good project. The interview lasted for 45 minutes. The interviewer was friendly and good.

  • Q1. 

    Merge Sort Problem Statement

    You are given a sequence of numbers, ARR. Your task is to return a sorted sequence of ARR in non-descending order using the Merge Sort algorithm.

    Explanation:

    The Merge Sort...

  • Ans. 

    Implement Merge Sort algorithm to sort a given sequence of numbers in non-descending order.

    • Divide the input array into two halves recursively until each array has only one element.

    • Merge the sorted halves to produce a completely sorted array.

    • Time complexity of Merge Sort is O(n log n).

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

This was my last round and I was a bit tensed. It was an HR round. The interviewer was very professional. He discussed and asked questions about my various achievements, my interests apart from the technical field and also asked about my projects. I made sure to answer all the questions confidently and calmly.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Punjab Engineering College(Deemed To be University). Eligibility criteriaAbove 8 CGPAMicrosoft interview preparation:Topics to prepare for the interview - C++, Data Structures, Dynamic Programming, Algorithms, Operating Systems, Object Oriented Programming, Database Management SystemTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Having a grip over Data Structures and Algorithms is very important. Have your concepts crystal clear and then pick one coding platform( for example, leetcode, InterviewBit, CodeZen, GeeksForGeeks) and try to practice around 7-10 questions everyday with varying difficulty and different topics. I completed around 200+ questions on leetcode, 200+ questions on geeks for geeks and around 30-40 problems on InterviewBit.
Tip 2 : After writing code for a particular question try to analyze its time and space complexity. Think about how you can optimize your code further. Also refer to the editorials and compare your solution with it. Interviewers ask a lot about further code optimization. Hence, instead of trying to solve more and more problems, try to analyze a question completely and understand the concept behind them. 
Tip 3 : Along with coding, study about OOPS. Coding Ninja's Data Structures and Algorithms course helped a lot in preparing the OOPS concepts specifically. Also, OS and DBMS must also be studied. You can refer to GeekForGeeks articles for these topics.
Tip 4 : Keep participating in coding contests. It helps you increase your speed. I participated in almost every Leetcode Weekly Contest which helped me keeping the track of my improvement.

Application resume tips for other job seekers

Tip 1 : Do not fake any skills, projects or achievements. The interviewer gets to know about it by asking questions to you.
Tip 2 : You do need to have a long list of projects. Any 1 good project with proper knowledge of it will also do good. Similarly, you do need to have many skills to be listed down. Few skills but with proper knowledge is great.
Tip 3 : Try to write achievements which proves your technical skills, communication skills, leadership quality or teamwork.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Nov 2020.

Round 1 - Telephonic Call 

(1 Question)

Round duration - 45 minutes
Round difficulty - Medium

The interview was with a Korean employee. 

  • Q1. 

    Bridge in Graph Problem Statement

    Given an undirected graph with V vertices and E edges, your task is to find all the bridges in this graph. A bridge is an edge that, when removed, increases the number of...

  • Ans. 

    Find all the bridges in an undirected graph.

    • Use Tarjan's algorithm to find bridges in the graph.

    • A bridge is an edge whose removal increases the number of connected components.

    • Check for bridges by removing each edge and checking the number of connected components.

    • Return the edges that are bridges in non-decreasing order.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

Interviewer was an Indian employee. 

  • Q1. 

    Longest Palindromic Substring Problem Statement

    You are provided with a string STR of length N. The goal is to identify the longest palindromic substring within this string. In cases where multiple palind...

  • Ans. 

    Identify the longest palindromic substring in a given string.

    • Iterate through the string and expand around each character to find palindromes

    • Keep track of the longest palindrome found

    • Return the longest palindrome with the smallest start index

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Hard

Interviewer was an Indian employee.

  • Q1. 

    Alien Dictionary Problem Statement

    You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...

  • Ans. 

    Given a sorted alien dictionary in an array of strings, determine the character order of the alien language.

    • Iterate through the words in the dictionary to build a graph of character dependencies.

    • Perform a topological sort on the graph to determine the character order.

    • Return the character order as a list of characters.

  • Answered by AI
Round 4 - Video Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Hard

Interviewer was an Indian employee. 

  • Q1. 

    Problem: Ninja's Robot

    The Ninja has a robot which navigates an infinite number line starting at position 0 with an initial speed of +1. The robot follows a set of instructions which includes ‘A’ (Acceler...

  • Ans. 

    Determine the minimum length of instruction sequence for a robot to reach a given target on an infinite number line.

    • Start at position 0 with speed +1, update position and speed based on 'A' and 'R' instructions

    • For each test case, find the shortest sequence of instructions to reach the target

    • Consider both positive and negative positions for the robot

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteriaMust be in final yearGoogle interview preparation:Topics to prepare for the interview - Data Structures, Pointers, Trees, Graphs, Algorithms, Dynamic Programming, BacktrackingTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Do competitive coding in 1st and 2nd year.
Tip 2 : Practice basic questions before starting complex problem.
Tip 3 : Start doing mock interviews from the end of 5th semester. It gives a lot of confidence.

Application resume tips for other job seekers

Tip 1 : Adding competitive programming ranks add value.
Tip 2 : You should have some good project which you can explain nicely.

Final outcome of the interviewRejected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Easy

The round was conducted in day around 3PM.

  • Q1. 

    Partition Equal Subset Sum Problem

    Given an array ARR consisting of 'N' positive integers, determine if it is possible to partition the array into two subsets such that the sum of the elements in both sub...

  • Ans. 

    The problem is to determine if it is possible to partition an array into two subsets with equal sum.

    • Use dynamic programming to solve this problem efficiently.

    • Create a 2D array to store the results of subproblems.

    • Check if the sum of the array is even before attempting to partition it.

    • Iterate through the array and update the 2D array based on the sum of subsets.

    • Return true if a subset with half the sum is found, false ot...

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 30 Minutes
Round difficulty - Easy

The interview was preponed and was conducted at 9AM.
The interviewer was friendly and I had saw him earlier at pre-placement talk.

  • Q1. 

    Convert Sentence to Pascal Case

    Given a string STR, your task is to remove spaces from STR and convert it to Pascal case format. The function should return the modified STR.

    In Pascal case, words are con...

  • Ans. 

    Convert a given string to Pascal case format by removing spaces and capitalizing the first letter of each word.

    • Iterate through each character in the string

    • If the character is a space, skip it

    • If the character is not a space and the previous character is a space or it is the first character, capitalize it

  • Answered by AI
  • Q2. Write an SQL query to retrieve the Nth highest salary from a database.
  • Ans. 

    SQL query to retrieve the Nth highest salary from a database

    • Use the ORDER BY clause to sort salaries in descending order

    • Use the LIMIT clause to retrieve the Nth highest salary

    • Consider handling cases where there might be ties for the Nth highest salary

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

This round was conducted 15mins after 1st round.

  • Q1. 

    Remove the Kth Node from the End of a Linked List

    You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Lin...

  • Ans. 

    Remove the Kth node from the end of a singly linked list.

    • Traverse the list to find the length 'N'.

    • Calculate the position of the node to be removed from the beginning as 'N - K + 1'.

    • Remove the node at the calculated position.

    • Handle edge cases like removing the head or tail of the list.

    • Update the pointers accordingly after removal.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from National Institute of Technology, Raipur. I applied for the job as SDE - 1 in BangaloreEligibility criteria7 CGPAOracle interview preparation:Topics to prepare for the interview - Computer Networks, SQL, DBMS, Data Structures, Algorithms, OS, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Do Competitive Coding
Tip 2 : Learn at least 1 framework
Tip 3 : Build interest in computers

Application resume tips for other job seekers

Tip 1 : Be well informed of everything you mention in your resume
Tip 2 : Mention competitive coding achivements in your resume(if any)

Final outcome of the interviewRejected

Skills evaluated in this interview

Tell us how to improve this page.

OATIndia Software Developer Salary
based on 22 salaries
₹3.2 L/yr - ₹5.5 L/yr
58% less than the average Software Developer Salary in India
View more details

OATIndia Software Developer Reviews and Ratings

based on 3 reviews

3.3/5

Rating in categories

2.3

Skill development

4.9

Work-life balance

3.0

Salary

3.3

Job security

3.0

Company culture

3.0

Promotions

3.0

Work satisfaction

Explore 3 Reviews and Ratings
Software Developer
22 salaries
unlock blur

₹3.2 L/yr - ₹5.5 L/yr

Power System Engineer
7 salaries
unlock blur

₹5.5 L/yr - ₹9.9 L/yr

Associate Business Analyst
7 salaries
unlock blur

₹3 L/yr - ₹4 L/yr

Senior Software Engineer
7 salaries
unlock blur

₹5.3 L/yr - ₹14 L/yr

Senior Software Developer
7 salaries
unlock blur

₹4.5 L/yr - ₹8.5 L/yr

Explore more salaries
Compare OATIndia with

Oracle

3.7
Compare

Amdocs

3.7
Compare

Carelon Global Solutions

3.8
Compare

Automatic Data Processing (ADP)

4.0
Compare
write
Share an Interview