
BigStep Technologies


BigStep Technologies Software Engineer Interview Questions and Answers
Q1. Maximum Sum Subarray Problem Statement
Given an array ARR
consisting of N
integers, determine the sum of the subarray with the maximum sum, including the possibility of an empty subarray.
A subarray is a contig...read more
Find the sum of the subarray with the maximum sum in a given array.
Iterate through the array and keep track of the current sum and maximum sum.
Update the maximum sum if the current sum becomes greater.
Handle cases where the array has all negative numbers or empty subarray.
Example: For input [-2, 1, -3, 4, -1], the maximum sum subarray is [4] with sum 4.
Q2. Prime Numbers Identification
Given a positive integer N
, your task is to identify all prime numbers less than or equal to N
.
Explanation:
A prime number is a natural number greater than 1 that has no positive d...read more
Identify all prime numbers less than or equal to a given positive integer N.
Iterate from 2 to N and check if each number is prime
Use the Sieve of Eratosthenes algorithm for efficient prime number identification
Optimize by only checking numbers up to square root of N for divisibility
Joins in databases are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column.
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN.
INNER JOIN returns rows when there is at least one match in both tables.
LEFT JOIN returns all rows from the left table and the matched rows from the right table.
RIGHT JOIN returns all rows from the right table and t...read more
Q4. What are Joins in SQL? Briefly explain difference between all types of joins
Joins in SQL are used to combine data from two or more tables based on a related column.
Inner join returns only the matching rows from both tables
Left join returns all rows from the left table and matching rows from the right table
Right join returns all rows from the right table and matching rows from the left table
Full outer join returns all rows from both tables, with NULL values for non-matching rows
Cross join returns the Cartesian product of both tables
Q5. How will you deal with tight delivery time.
I will prioritize tasks, communicate effectively with team members, and utilize time management techniques to meet deadlines.
Prioritize tasks based on importance and urgency
Break down tasks into smaller manageable chunks
Communicate effectively with team members to coordinate efforts
Utilize time management techniques such as Pomodoro technique or Agile methodologies
Identify and eliminate any potential roadblocks or bottlenecks
Adjust scope or resources if necessary to meet the ...read more
Q6. Find a sub array with a given sum
Given an array of integers, find a contiguous subarray with a given sum.
Use a sliding window approach to iterate through the array and keep track of the current sum.
If the current sum exceeds the given sum, move the window's left endpoint forward.
If the current sum is less than the given sum, move the window's right endpoint forward.
If the current sum equals the given sum, return the subarray.
Time complexity: O(n), Space complexity: O(1).
Interview Process at BigStep Technologies Software Engineer

Top Software Engineer Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

