i
ServiceNow
Filter interviews by
I applied via Referral and was interviewed in May 2024. There was 1 interview round.
Count the number of substrings with equal number of 0s, 1s, and 2s in a given string.
Iterate through the string and maintain counts of 0s, 1s, and 2s encountered so far.
Keep track of the counts in a hashmap and increment the count of substrings whenever counts of 0s, 1s, and 2s are equal.
Return the total count of substrings at the end.
Group anagrams together in an array of strings.
Create a hashmap to store sorted strings as keys and corresponding anagrams as values.
Iterate through the input array, sort each string, and add it to the hashmap.
Return the values of the hashmap as the grouped anagrams.
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2022. There were 3 interview rounds.
OOPS concepts are fundamental to software engineering. They help in creating modular, reusable, and maintainable code.
Encapsulation: Hiding implementation details and exposing only necessary information.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Ability of objects to take on multiple forms.
Abstraction: Focusing on essential features and ignoring implementation details.
Example: A car is ...
I applied via Referral and was interviewed before Mar 2023. There were 2 interview rounds.
Types of testing include functional testing, non-functional testing, manual testing, automated testing, regression testing, and performance testing.
Functional testing: Testing the functionality of the software against the requirements.
Non-functional testing: Testing aspects like performance, usability, and security.
Manual testing: Testing performed manually by QA engineers.
Automated testing: Testing performed using aut...
To test a particular scenario, create test cases covering all possible inputs and expected outcomes.
Identify the specific scenario to be tested
Create test cases for different inputs and expected outcomes
Execute the test cases and analyze the results
Perform regression testing to ensure no new issues are introduced
Simple coding on python
Find and print the missing number in a given array of strings.
Convert the array of strings to an array of integers for easier manipulation.
Iterate through the array to find the missing number by comparing consecutive elements.
Print the missing number once found.
Reverse a string in an array of strings
Iterate through each string in the array
Use a loop to reverse each string character by character
Store the reversed strings in a new array
To test a faulty ATM, simulate various scenarios like card reader failure, cash dispenser malfunction, network connectivity issues, etc.
Simulate card reader failure by inserting a damaged card or a card with a magnetic strip issue.
Test cash dispenser malfunction by requesting cash withdrawal and observing if the correct amount is dispensed.
Check for network connectivity issues by trying to access online banking service...
Object-oriented programming paradigm that focuses on objects and classes for code organization and reusability.
Encapsulation: bundling data and methods that operate on the data into a single unit (object)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details an
STLC, bug severity priority, waits in Selenium, Java OOPs
STLC stands for Software Testing Life Cycle and includes phases like requirement analysis, test planning, test design, test execution, and test closure
Bug severity is the impact of a bug on the system, while bug priority is the order in which bugs should be fixed
Waits in Selenium are used to make the test script wait for a certain condition to be met before proce...
I was interviewed in May 2023.
I applied via Referral and was interviewed in Mar 2023. There were 2 interview rounds.
I applied via LinkedIn and was interviewed before Nov 2023. There were 2 interview rounds.
Path parameter is a part of the URL that comes after the endpoint and is used to identify a specific resource.
Path parameters are used to pass data to the API endpoint in the URL
They are specified within curly braces {} in the URL path
Path parameters are used to identify a specific resource or entity
Example: /api/users/{userId} where userId is a path parameter
based on 1 interview
Interview experience
Software Engineer
414
salaries
| ₹12.4 L/yr - ₹45 L/yr |
Senior Software Engineer
322
salaries
| ₹16 L/yr - ₹59 L/yr |
Technical Support Engineer
120
salaries
| ₹8 L/yr - ₹24.5 L/yr |
Content Data Analyst
89
salaries
| ₹2.8 L/yr - ₹4.1 L/yr |
Staff Software Engineer
68
salaries
| ₹28 L/yr - ₹93.8 L/yr |
Salesforce
Oracle
SAP
Microsoft Corporation