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 Approached by Company and was interviewed before Jun 2023. There were 3 interview rounds.
Simple Java questions on string and arrays
Framework level knowledge is checked
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Selenium can be used to automate testing of dynamic tables by using Xpaths to locate elements.
Identify unique attributes of table elements to create stable Xpaths
Use functions like contains(), starts-with(), or ends-with() in Xpaths for dynamic content
Consider using parent-child relationships in Xpaths for nested tables
I applied via Company Website and was interviewed before Mar 2023. There was 1 interview round.
To handle objects in a webtable, you can use methods like findElement, getText, getAttribute, etc.
Use findElement method to locate the object in the webtable
Use getText method to retrieve the text of the object
Use getAttribute method to get specific attribute value of the object
Iterate through rows and columns to handle multiple objects in the webtable
Multiple window handles allow a QA engineer to interact with multiple browser windows during testing.
Window handles are unique identifiers assigned to each browser window opened by the application.
QA engineers can switch between window handles to perform actions on different windows.
Example: driver.getWindowHandles() in Selenium returns a set of window handles.
Example: driver.switchTo().window(handle) is used to switch
I appeared for an interview in Jul 2019.
I applied via Campus Placement and was interviewed before Jun 2020. There were 4 interview rounds.
I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.
Frameworks provide structure and pre-built components for software development, but can also limit flexibility and require learning curve.
Advantage: Provides structure and pre-built components for faster development
Advantage: Can improve code quality and maintainability
Disadvantage: Can limit flexibility and customization
Disadvantage: Requires learning curve and potential dependency issues
Example: ReactJS provides a fr...
Oops stands for Object-Oriented Programming. It is a programming paradigm that uses objects to represent real-world entities.
Advantages: code reusability, modularity, encapsulation, inheritance, polymorphism
Disadvantages: complexity, steep learning curve, performance overhead
Example: creating a class 'Car' with properties like 'make', 'model', and 'year', and methods like 'start_engine' and 'stop_engine'
I applied via Naukri.com and was interviewed before Oct 2019. There was 1 interview round.
based on 1 interview
Interview experience
Software Engineer
424
salaries
| ₹12 L/yr - ₹45 L/yr |
Senior Software Engineer
394
salaries
| ₹16 L/yr - ₹60 L/yr |
Technical Support Engineer
134
salaries
| ₹8 L/yr - ₹24.5 L/yr |
Content Data Analyst
91
salaries
| ₹2.8 L/yr - ₹4.1 L/yr |
Software Developer
87
salaries
| ₹10.3 L/yr - ₹36.5 L/yr |
Amdocs
Automatic Data Processing (ADP)
24/7 Customer
Thomson Reuters