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
I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.
In this first round it was of 45mins which included MCQ question and 1 coding question.
Answers to common interview questions for Automation Test Engineer position.
Const is used for constant values that cannot be reassigned, var is used for variable declaration, and char is a data type for storing characters in programming languages.
OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction. Example: Inheritance allows a class to inherit properties and methods from another class.
JavaS...
Type coercion is the process of converting one data type to another in programming.
Type coercion can happen implicitly or explicitly in programming languages.
Implicit type coercion occurs when the language automatically converts data types during operations.
Explicit type coercion occurs when the programmer manually converts data types using functions or operators.
Example: In JavaScript, the addition operator (+) can pe...
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class. Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance allows for code reusability by defining a new class based on an existing class.
Polymorphism enables flexibility in programming by allowing objects to be treated as instances of their pare...
API error codes are unique identifiers used to indicate specific errors in an API response.
API error codes are typically numeric or alphanumeric codes that correspond to specific errors in the API.
Each error code should have a corresponding explanation in the API documentation to help developers understand the issue.
Examples of API error codes include 400 Bad Request, 401 Unauthorized, and 404 Not Found.
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.
Software Engineer
395
salaries
| ₹14 L/yr - ₹45 L/yr |
Senior Software Engineer
306
salaries
| ₹16 L/yr - ₹59 L/yr |
Technical Support Engineer
114
salaries
| ₹8 L/yr - ₹24.5 L/yr |
Content Data Analyst
89
salaries
| ₹2.8 L/yr - ₹4.2 L/yr |
Software Developer
65
salaries
| ₹12 L/yr - ₹50.2 L/yr |
Salesforce
Oracle
SAP
Microsoft Corporation