Software Analyst

100+ Software Analyst Interview Questions and Answers

Updated 24 Oct 2024

Popular Companies

search-icon
Q1. Merge Intervals

You are given N number of intervals, where each interval contains two integers denoting the start time and the end time for the interval.

The task is to merge all the overlapping intervals and re...read more

Q2. DFS Traversal

Given an undirected and disconnected graph G(V, E), containing 'V' vertices and 'E' edges, the information about edges is given using 'GRAPH' matrix, where i-th edge is between GRAPH[i][0] and GRAP...read more

Software Analyst Interview Questions and Answers for Freshers

illustration image
Q3. Climbing the leaderboard

Given a leaderboard of a game with the following ranking pattern:

The player with the highest score is ranked number 1 on the leaderboard.

Players who have equal scores receive the same ...read more

Q4. Design a hashset

Design a HashSet without using any built-in hash table libraries.

Implement the following public functions :

1) Constructor: It initializes the data members as required. 2) add(value): It insert...read more
Are these interview questions helpful?
Q5. Fenwick Tree

You are given an array/list 'ARR' of ‘N’ integers, and ‘Q’ queries. Each query can be of two types:

Given 2 integers ‘L’,’R’ ( L>=0 and R

Given an index ‘i’ update the value of ARR[i] to a given int...read more

Q6. 1. difference between functions and stored procedures 2. What are triggers. 3. where is cross join used 4. question in which I had to use join 5. use and syntax for HAVING 6. Constraints 7. if a column accepts ...

read more
Ans.

Answers to questions related to SQL concepts like functions, stored procedures, triggers, joins, and constraints.

  • Functions return a value while stored procedures do not.

  • Triggers are special types of stored procedures that are automatically executed in response to certain events.

  • Cross join is used to combine each row from one table with every row from another table.

  • Joins are used to combine data from two or more tables based on a related column.

  • HAVING is used to filter data ba...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
Q7. Bottom view of binary tree

Given a binary tree, print its bottom view from left to right. Assume, the left and the right child make a 45-degree angle with the parent.

A binary tree is a tree in which each parent...read more

Q8. Print Nodes at distance K from a given node

You are given an arbitrary binary tree, a node of the tree, and an integer 'K'. You need to find all such nodes which have a distance K from the given node and return ...read more

Software Analyst Jobs

Software Analyst 2-7 years
Great Place IT Services
3.9
Pune
Client Server Software Analyst 2-4 years
GLOBAL PAYMENTS ASIA-PACIFIC INDIA PRIVATE LIMITED
4.1
Pune
Senior Client Server Software Analyst 3-6 years
GLOBAL PAYMENTS ASIA-PACIFIC INDIA PRIVATE LIMITED
4.1
Pune
Q9. Flatten The Multi-Level Linked List

You are given a multi-level linked list of 'N' nodes, each node has a next and child pointer which may or may not point to a separate node. Flatten the multi-level linked list...read more

Q10. Maximum Frequency Number

Ninja is given an array of integers that contain numbers in random order. He needs to write a program to find and return the number which occurs the maximum times in the given input. He ...read more

Q11. Ways To Make Coin Change

You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more

Frequently asked in,
Q12. Find Pairs

We are given a sorted doubly-linked list which contains distinct positive integers, and an integer ‘X’. Print all such unique pairs from the given list so that their sum is equal to ‘X’.

Input format ...read more

Q13. There are 4 people on one side of the river, let them be A, B, C and D. There is a boat on the same side of the river. A takes 1 minute to row to the other side, B takes 2 minutes, C takes 9 minutes and D takes...

read more
Ans.

A, B cross first (2 mins), A returns (1 min), C, D cross (10 mins), B returns (2 mins), A, B cross again (2 mins)

  • A, B cross first (2 mins)

  • A returns (1 min)

  • C, D cross (10 mins)

  • B returns (2 mins)

  • A, B cross again (2 mins)

Q14. Alien dictionary

You have been given a sorted (lexical order) dictionary of an alien language. Write a function that finds the order of characters in the alien language. This dictionary will be given to you in t...read more

Q15. BFS in Graph

You are given an undirected and disconnected graph G(V, E) having V vertices numbered from 0 to V-1 and E edges. Your task is to print its BFS traversal starting from the 0th vertex.

BFS or Breadth-...read more

Q16. Find prime numbers

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example ...read more

Frequently asked in,
Q17. Maximum Subarray Sum

You are given an array (ARR) of length N, consisting of integers. You have to find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.

A subarray is a ...read more

Q18. Minimum depth in a Binary Tree

You have been given a Binary Tree of integers, find the minimum depth of this Binary Tree. The minimum depth of a Binary Tree is the number of nodes along the shortest path from th...read more

Q19. Word Search

You are given a two-dimensional grid having 'N' rows and 'M' columns, consisting of upper case characters. You are also given a word 'WORD'. You have to find the number of occurrences of that word i...read more

Q20. Partition a set into two subsets such that the difference of subset sums is minimum

You are given an array containing N non-negative integers. Your task is to partition this array into two subsets such that the ...read more

Q21. Find K-th smallest Element in BST

Given a binary search tree and an integer ‘K’. Your task is to find the ‘K-th’ smallest element in the given BST( binary search tree).

BST ( binary search tree) -

If all the sma...read more

Q22. Rat In A Maze

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a squar...read more

Q23. Nth Fibonacci Number

Nth term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

 F(n) = F(n-1) + F(n-2), Where, F(1) = F(2) = 1 

Provided N you have to find out the ...read more

Frequently asked in, ,
Q24. Partition to k equal sum subsets

You are given an array of 'N' integers, and a positive integer 'K'. You need to determine if it is possible to divide the array into 'K' non-empty subsets such that the sum of el...read more

Q25. Square root (decimal)

You have been given two integers 'N' and 'D', Your task is to find the square root of the number 'N' with precision up to 'D' decimal places i.e. the difference between your answer and the ...read more

Q26. Best Time to Buy and Sell

You are given an array(PRICES) of stock prices for N consecutive days. Your task is to find the maximum profit that you can make by completing as many transactions as you like, where a ...read more

Q27. MCQ Question

An alloy contains Brass, Iron, and Zinc in the ratio 2:3:1 and another contains Iron, zinc, and lead in the ratio 5:4:3. If equal weights of both alloys are melted together to form a third alloy, th...read more

Q28. Trailing zeros in factorial

You are given an integer N, you need to find the number of trailing zeroes in N! (N factorial).

Note:

1. Trailing zeros in a number can be defined as the number of continuous suffix z...read more
Q29. Arithmetic Progression Queries

Given an integer array(ARR) of size N, the following operations need to be performed:

update(l, r, val) : Add (val + i) to arr[l + i] where, 0 <= i <= r - l. rangeSum(l, r): return...read more
Q30. Minimize the Maximum

You are given an array of N integers and an integer K. For each array element, you are allowed to increase or decrease it by a value k. The task is to minimize the difference between the max...read more

Q31. BST to Min Heap

You are given a binary search tree which is also a complete binary tree. You have to convert the given BST into a Min Heap with the condition that all the values in the left subtree of a node sho...read more

Q32. Minimum Number of Platform Needed

You are given the arrival and departure times of N trains at a railway station in a day. You need to find the minimum of platforms required for the railway station such that no ...read more

Q33. Two and Four Wheeler Roads

There is a country with 'N' cities and 'M' bidirectional roads of 3 types.

Type 1: Two Wheeler Road, It means only vehicles having two wheels can use this road. Type 2: Four Wheeler R...read more

Q34. You have a birthday cake. You need to divide it in 8 equal parts, but you can cut it only 3 times. How will you do it?

Ans.

Cut the cake in half horizontally, then stack the halves and cut vertically twice.

  • Cut the cake horizontally to get 2 equal halves.

  • Stack the halves on top of each other and cut vertically to get 4 equal quarters.

  • Finally, stack the quarters and cut vertically again to get 8 equal parts.

Q35. Next Greater Number

You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number...read more

Q36. Two people, A and B, are running on a circular track. Both start at the same position. A is running at a speed of "x" and B is running at a speed of "y" (x is not equal to y). At what distance will they meet ag...

read more
Ans.

They will meet again after the starting point at a distance of LCM(x, y).

  • The distance at which they will meet again is the least common multiple (LCM) of their speeds.

  • For example, if A is running at a speed of 4 m/s and B is running at a speed of 6 m/s, they will meet again after 12 meters.

  • Another example, if A is running at a speed of 3 km/hr and B is running at a speed of 5 km/hr, they will meet again after 15 km.

Q37. Minimum Calls

There is a group of people and a special person in the group who does not know anybody, while other people in the group know him. Given a function: find(A, B) -> which returns True if A knows B and...read more

Q38. Puzzle

25 horses problem

There are 25 horses. What is the minimum number of races needed so you can identify the fastest 3 horses? You can race up to 5 horses at a time, but you do not have a watch.

Egg Dropping p...read more

Q39. Pigeon Hole Puzzle

My wife and I recently attended a party at which there were four other married couples. Various handshakes took place. No one shook hands with oneself, nor with one's spouse, and no one shook ...read more

Q40. String Palindrome

Given a string, determine if it is a palindrome, considering only alphanumeric characters.

Palindrome
A palindrome is a word, number, phrase, or other sequences of characters which read the sam...read more
Q41. Technical Questions

She asked me why do haven't done java to which i replied i have good logics and good understanding of c++ .Learning java is not difficult for me and i only have to learn syntax(be confident i...read more

Q42. Puzzle

a person has 3000 bananas and a camel. He wants to transport the maximum number of bananas to a destination which is 1000 KMs away Camel eats 1 banana for every km. What is the maximum number of bananas t...read more

Q43. Puzzle

There are 3 ants sitting on three corners of a triangle. All ants randomly pick a direction and start moving along the edge of the triangle. What is the probability that any two ants collide?

Q44. There are three wires of same length. First is crafted into a circle, second is crafted into an equilateral triangle and third is crafted into a square. Which one will have the minimum area?

Ans.

The wire crafted into a circle will have the minimum area.

  • The circle has the smallest perimeter to area ratio compared to the equilateral triangle and square.

  • The formula for the area of a circle is A = πr^2, where r is the radius.

  • For the equilateral triangle, the formula is A = (√3/4) * s^2, where s is the side length.

  • For the square, the formula is A = s^2, where s is the side length.

Q45. Archer Problem : Puzzle

An archer is hitting the target(a circle). He fires the first shot and then the second shot. Given that his

shot was better than the second. Find the probability that the third shot that h...read more

Q46. OOPS Questions

Asked about OOPS, i.e what is OOPS , why OOPS is useful? Have you used OOPS in your project.

Q47. Technical Questions

1) Introduce yourself
2) Which language do you prefer?
3) Define

a) Polymorphism
b) Interface
c) Joins


4) In which fields, java performs better than python?
5) Some situational questions on java


Q48. Probability Puzzle

Given a point on the perimeter of the circle and an interior point. Find the probability that the rectangle formed with diagonal as the line segment joining these points lies inside the circle...read more

Q49. OS Question

What are Semaphores? Explain in detail

Implementing the LRU Cache and its uses

Q50. System Design Question

He asked me to do a system design for a website like Instagram which can be used by travellers.

1
2
3
Next
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10k Interviews
3.9
 • 7.8k Interviews
3.8
 • 5.4k Interviews
3.8
 • 4.6k Interviews
3.6
 • 399 Interviews
3.9
 • 112 Interviews
3.8
 • 64 Interviews
2.8
 • 6 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Software Analyst Interview Questions
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
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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