i
ServiceNow
Filter interviews by
Internship work involves gaining practical experience in a specific field or industry.
Assisting with daily tasks and projects
Shadowing and learning from experienced professionals
Participating in meetings and presentations
Conducting research and analysis
Developing skills and knowledge relevant to the field
Networking and building professional relationships
Receiving feedback and guidance from supervisors
Completing assigne...
Count numbers between (a,b) with no consecutive ones in binary representation.
Use dynamic programming to count numbers with no consecutive ones.
Calculate count of numbers with no consecutive ones up to b and a-1.
Subtract the counts to get the final answer.
Object-oriented programming focuses on objects and their interactions, functional programming emphasizes on functions and their composition, and logic programming uses logical rules to solve problems.
Object-oriented programming uses classes and objects to encapsulate data and behavior.
Functional programming uses pure functions and immutable data to avoid side effects.
Logic programming uses logical rules and constraints...
Abstract class can have implemented methods, interface cannot. Using abstract class without implemented methods is unnecessary.
Abstract class can have constructors, fields, and implemented methods, while interface cannot.
Abstract class can be used to provide default implementations for methods that subclasses can override.
Interface is used to define a contract that implementing classes must follow.
Using abstract class ...
Yes, it is allowed. Access parent's variable using 'super' keyword.
Child class can have a variable with the same name as parent's protected variable.
Access parent's variable in child class using 'super' keyword.
Reverse is not allowed i.e. parent cannot have a public variable with the same name as child's protected variable.
Stopping conditions for detecting a loop in a singly linked list if there is no loop.
If the current node or the next node is null, then there is no loop.
If the current node is the last node in the list, then there is no loop.
If the list has only one node, then there is no loop.
To ensure at least one node is left in a circularly linked list, we can use a sentinel node.
Create a sentinel node and point it to the last node in the list.
When removing a node, check if it is the last node. If it is, remove it and point the sentinel node to the new last node.
If all nodes are removed, the sentinel node will still be present.
Example: If we have a circularly linked list with nodes A, B, and C, we can cr...
Programmatically fit small, medium, and large balls in a container to minimize wasted space.
Start by calculating the volume of the container.
Calculate the volume of each type of ball.
Use a loop to try all possible combinations of balls.
Calculate the total volume of each combination and keep track of the one with the least wasted space.
Return the combination with the least wasted space.
To reduce booting time of processor with no control on hardware, modify software by disabling unnecessary services and programs.
Disable unnecessary services and programs
Optimize startup programs
Remove malware and viruses
Update drivers and software
Defragment hard drive
Find the lighter ball among 9 balls in 2 weightings using a balance.
Divide the balls into 3 groups of 3 each.
Weigh any 2 groups against each other.
If they balance, the lighter ball is in the third group.
If they don't balance, the lighter ball is in the lighter group.
Take 2 balls from the lighter group and weigh them against each other.
If they balance, the lighter ball is the remaining one.
If they don't balance, the lig
I applied via Approached by Company and was interviewed in Dec 2024. There were 3 interview rounds.
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Use dynamic programming to find the longest palindromic substring in a given string.
Iterate through the string and expand around each character to find palindromes.
Store the length of the longest palindrome found so far.
Return the substring based on the start and end indices of the longest palindrome.
To serialize and deserialize a tree, use a recursive approach to traverse the tree and store the data in a suitable format.
Use pre-order traversal to serialize the tree by storing the node values in a list or string.
For deserialization, reconstruct the tree by recursively building nodes from the serialized data.
Consider using JSON or XML format for serialization to easily store and retrieve tree structure.
Use regex library to match given regex with string.
Use a regex library like re in Python to match the given regex with the string.
Check if the regex matches the string using the library functions.
Handle cases where the regex contains special characters like . and * appropriately.
Throttling is a technique used to control the rate of requests sent to a server.
Throttling helps prevent server overload by limiting the number of requests processed at a time.
Implementing a throttle function involves setting a maximum request rate and delaying excess requests.
Example: Implementing a throttle function in a web application to limit the number of API calls made to a third-party service.
Example: Throttlin...
Sort the squares of elements in a sorted array and return the sorted response.
Iterate through the array and square each element.
Store the squared values in a new array.
Sort the new array and return it.
A promise is a commitment to do something in the future, typically used for asynchronous operations in JavaScript.
Promises are used to handle asynchronous operations in JavaScript.
They represent a value that may be available now, in the future, or never.
Promises have three states: pending, fulfilled, or rejected.
Example: new Promise((resolve, reject) => { setTimeout(() => resolve('Done!'), 1000); });
Event loop is a mechanism that allows for asynchronous execution of code by managing the order of events in a single thread.
Event loop continuously checks the call stack for any functions that need to be executed, and processes them in a non-blocking manner.
Different types of queues in event loop include microtask queue (Promise callbacks), macrotask queue (setTimeout, setInterval callbacks), and animation frame queue
Virtual DOM is a lightweight copy of the actual DOM, used to improve performance by minimizing direct manipulation of the real DOM.
Virtual DOM is a concept used in frameworks like React to optimize rendering performance.
Changes are first made to the virtual DOM, which is then compared to the real DOM to identify the minimal updates needed.
This approach reduces the number of actual DOM manipulations, resulting in faster...
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Scope refers to the visibility and accessibility of variables in a program. Logical operators are used to perform logical operations in code.
Scope in programming refers to where in the code a variable can be accessed. It can be global, local, or block scope.
To solve an error in the code, first identify the error message or behavior causing the issue. Then, debug the code by checking for syntax errors, logical errors, o...
To get data in a table using js, you can use DOM manipulation methods like getElementById or querySelector. Other ways to print output include console.log and innerHTML. A block in js is a set of statements enclosed in curly braces.
Use getElementById or querySelector to get data in a table using js
Other ways to print output include console.log and innerHTML
A block in js is a set of statements enclosed in curly braces,
Seeking new challenges and growth opportunities in a different environment.
Looking for new challenges and opportunities for growth
Interested in gaining experience in a different industry or technology
Seeking a better work-life balance or company culture
Wanting to work with a different team or leadership style
ServiceNow interview questions for popular designations
First round include mcq related sql ,linux
Get interview-ready with Top ServiceNow Interview Questions
I applied via Company Website and was interviewed in Sep 2024. There were 2 interview rounds.
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
In first round 4 coding question like 1 dsa 2 database and one is api and question is very simple . coding round was conducted in hackerrank
Again same but dsa question and oops concept in deep level
I applied via Company Website and was interviewed in Aug 2024. There were 5 interview rounds.
I applied via Job Portal and was interviewed in Oct 2024. There were 3 interview rounds.
Hackerrank test - DSA, RestAPI, SQL
Implementing a 'Close Friends' feature in a social media platform.
Allow users to create a list of close friends to share exclusive content with
Provide options for users to customize privacy settings for their close friends list
Include a notification feature for when a user is added to someone else's close friends list
Top trending discussions
Some of the top questions asked at the ServiceNow interview -
The duration of ServiceNow interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 117 interviews
Interview experience
based on 382 reviews
Rating in categories
Software Engineer
414
salaries
| ₹12.9 L/yr - ₹48 L/yr |
Senior Software Engineer
344
salaries
| ₹16 L/yr - ₹65 L/yr |
Technical Support Engineer
121
salaries
| ₹8 L/yr - ₹24.5 L/yr |
Content Data Analyst
89
salaries
| ₹2.8 L/yr - ₹4.1 L/yr |
Staff Software Engineer
76
salaries
| ₹26 L/yr - ₹88.5 L/yr |
Salesforce
Oracle
SAP
Microsoft Corporation