Senior Software Engineer 1

Senior Software Engineer 1 Interview Questions and Answers for Freshers

Updated 6 Jul 2025
search-icon
4d ago

Q. How do you find the number of unique elements in an array with in-place modification?

Ans.

Use hash set to track unique elements while iterating through array and modify array in-place

  • Iterate through array and add elements to hash set to track unique elements

  • Modify array in-place by removing duplicates using hash set

  • Return the size of the hash set as the number of unique elements

Asked in GlobalLogic

6d ago

Q. How do you implement the singleton pattern?

Ans.

Singleton pattern ensures a class has only one instance and provides a global point of access to it.

  • Create a private static instance variable of the class itself

  • Make the constructor private to prevent instantiation from outside the class

  • Provide a static method to access the singleton instance

Asked in TCS

6d ago

Q. What is an abstract class?

Ans.

An abstract class is a class that cannot be instantiated and is used as a blueprint for other classes to inherit from.

  • Cannot be instantiated directly

  • May contain abstract methods that must be implemented by subclasses

  • Can have both abstract and non-abstract methods

  • Used to define common behavior for subclasses

3d ago

Q. Given a string s containing only three types of characters: '(', ')' and '*', write a function to check whether this string is valid. The string is valid if: Every left parenthesis '(' must have a corresponding...

read more
Ans.

Check if a string of parentheses is valid

  • Use a stack to keep track of opening parentheses

  • Iterate through the string and push opening parentheses onto the stack

  • When encountering a closing parenthesis, pop from the stack and check if it matches the corresponding opening parenthesis

  • If stack is empty at the end and all parentheses have been matched, the string is valid

Are these interview questions helpful?

Q. Binary Search Algorithm

Ans.

Binary search is a divide and conquer algorithm that efficiently finds the target value within a sorted array.

  • Divide the array in half and compare the target value with the middle element

  • If the target value is smaller, search the left half. If larger, search the right half

  • Repeat the process until the target value is found or the subarray is empty

Asked in CitiusTech

3d ago

Q. Design a Least Recently Used (LRU) cache.

Ans.

LRU cache design involves maintaining a cache with limited capacity and removing the least recently used item when the cache is full.

  • Use a doubly linked list to keep track of the order of items in the cache.

  • Implement a hash map to quickly access items in the cache.

  • When an item is accessed, move it to the front of the linked list to mark it as the most recently used.

  • When adding a new item to a full cache, remove the item at the end of the linked list, which is the least recent...read more

Senior Software Engineer 1 Jobs

Optum logo
Senior Software Engineer I - React Js, Typescript, Redux 6-11 years
Optum
4.0
₹ 25 L/yr - ₹ 38 L/yr
Hyderabad / Secunderabad
Optum Global Solutions (India) Private Limited logo
Senior Software Engineer I-React Native, Mobile Release Engineer 3-8 years
Optum Global Solutions (India) Private Limited
4.0
Hyderabad / Secunderabad
Optum Global Solutions (India) Private Limited logo
Senior Software Engineer I - Java and ReactJS 6-11 years
Optum Global Solutions (India) Private Limited
4.0
Hyderabad / Secunderabad

Interview Experiences of Popular Companies

Capgemini Logo
3.7
 • 5.1k Interviews
Tech Mahindra Logo
3.5
 • 4.1k Interviews
HCLTech Logo
3.5
 • 4.1k Interviews
LTIMindtree Logo
3.7
 • 3k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

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

Senior Software Engineer 1 Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits