i
UKG
Filter interviews by
Hacker rank exam, 2 DSA coding questions
I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.
2 DSA Question, 1 Question on Git
I applied via Referral and was interviewed in Mar 2024. There were 3 interview rounds.
Question was on Java streams for string
UKG interview questions for designations
I applied via Naukri.com and was interviewed before Oct 2023. There were 5 interview rounds.
Debugging a bug process involves identifying, isolating, and fixing issues in software code.
Identify the bug by reproducing the issue and analyzing error messages.
Isolate the bug by narrowing down the code where the issue occurs.
Fix the bug by making necessary code changes and testing the solution.
Verify the fix by retesting the software to ensure the bug is resolved.
A recursive program is a function that calls itself within its own code.
Recursion is a technique where a function calls itself to solve smaller instances of the same problem.
It involves breaking down a problem into smaller subproblems until a base case is reached.
Examples of recursive programs include factorial calculation, Fibonacci sequence generation, and tree traversal algorithms.
AVL and BST trees are types of binary search trees, with AVL trees being self-balancing.
BST (Binary Search Tree) is a type of binary tree where each node has at most two children, with left child < parent < right child.
AVL (Adelson-Velsky and Landis) tree is a self-balancing binary search tree where the heights of the two child subtrees of any node differ by at most one.
AVL trees maintain O(log n) time complexity for i...
The best pen in the market should have a comfortable grip, smooth writing experience, long-lasting ink, and a stylish design.
Comfortable grip for extended use
Smooth writing experience for effortless writing
Long-lasting ink to avoid frequent refills
Stylish design to appeal to customers
Seeking new challenges and opportunities for growth in a dynamic environment.
Looking for new challenges to continue learning and growing professionally.
Interested in working on cutting-edge technologies and projects.
Seeking a more collaborative and innovative work culture.
Want to explore different industry domains and expand my skill set.
Hoping to take on a leadership role and make a bigger impact.
I applied via Referral and was interviewed in Jun 2021. There were 4 interview rounds.
posted on 29 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.
SQL query to retrieve student department id.
Use SELECT statement to retrieve data
Specify the columns to be selected, including the department id column
Specify the table where the student data is stored
Use WHERE clause to filter the results based on student information
Code to find index of sub string in main string and duplicate the sub string
Use a loop to iterate through the main string and check for the sub string
If sub string is found, duplicate it and store the index
Return the index of the duplicated sub string
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...
Written coding test
Basic coding questions
Only c c++
Easy level
based on 6 interviews
Interview experience
based on 47 reviews
Rating in categories
Senior Software Engineer
509
salaries
| ₹10.2 L/yr - ₹23 L/yr |
Lead Software Engineer
368
salaries
| ₹14.5 L/yr - ₹33 L/yr |
Principal Software Engineer
262
salaries
| ₹19.3 L/yr - ₹43.4 L/yr |
Senior Software QA Engineer
101
salaries
| ₹9.2 L/yr - ₹18.4 L/yr |
Lead Software Quality Assurance Engineer
100
salaries
| ₹12.5 L/yr - ₹25.6 L/yr |
Accenture
IBM
Infosys
TCS