i
ServiceNow
Filter interviews by
Clear (1)
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 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 Naukri.com
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 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 applied via Approached by Company and was interviewed before Apr 2023. There were 3 interview rounds.
Basic selenium automation coding question and QA related MCQs
Count duplicates in a string
Iterate through the string and store each character in a hashmap with its count
Return the count of characters with count greater than 1
Program to sort array of strings
Use a sorting algorithm like bubble sort, selection sort, or merge sort
Compare strings using strcmp() function in C or compareTo() method in Java
Handle edge cases like empty array or array with only one element
I applied via Job Portal
Time frame one hour, 60 questions
I applied via Job Portal and was interviewed before Jun 2023. There was 1 interview round.
Hashmap is a data structure that stores key-value pairs and allows for fast retrieval of values based on keys.
Hashmap is implemented using an array of linked lists or buckets to handle collisions.
Each key is hashed to determine its index in the array.
Common operations include put(key, value), get(key), and remove(key).
Example: HashMap
getWindowHandles returns all open window handles, getWindowHandle returns handle of current window
getWindowHandles returns a set of all window handles currently open in the browser
getWindowHandle returns the handle of the current window being focused on
Example: driver.getWindowHandles() vs driver.getWindowHandle()
posted on 19 Jul 2024
Implement log rotation, set up log expiration policies, compress logs, use log aggregation services.
Implement log rotation to limit the size of individual log files.
Set up log expiration policies to automatically delete old logs.
Compress logs before storing them in AWS to reduce storage space.
Use log aggregation services like AWS CloudWatch Logs to centralize and manage logs efficiently.
based on 1 interview
Interview experience
Software Engineer
388
salaries
| ₹12.1 L/yr - ₹48 L/yr |
Senior Software Engineer
378
salaries
| ₹16 L/yr - ₹60 L/yr |
Technical Support Engineer
125
salaries
| ₹8 L/yr - ₹24.5 L/yr |
Content Data Analyst
90
salaries
| ₹2.8 L/yr - ₹4.1 L/yr |
Staff Software Engineer
75
salaries
| ₹28 L/yr - ₹90 L/yr |
Salesforce
Oracle
SAP
Microsoft Corporation