Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Comparable is an interface used for natural ordering, Comparator is an interface used for custom ordering. Abstract class can have method implementations, Interface cannot.
Comparable interface is used to define the natural ordering of objects. Example: String class implements Comparable interface for natural ordering based on alphabetical order.
Comparator interface is used to define custom ordering of objects. Example:...
Sort student objects by grade in descending order to prioritize highest grades.
Define a Student class with properties: name and grade.
Create an array of Student objects.
Use a sorting function (e.g., JavaScript's sort method) to sort by grade.
Example: students.sort((a, b) => b.grade - a.grade);
Output the sorted array to see students from highest to lowest grade.
I applied via Referral and was interviewed in Jul 2024. There were 3 interview rounds.
A hashmap uses key-value pairs for efficient data retrieval, leveraging hashing for quick access and storage.
Hashing: Converts keys into hash codes, which determine the index in an array.
Collision Handling: Techniques like chaining (linked lists) or open addressing resolve hash collisions.
Load Factor: A measure of how full the hashmap is, affecting performance; typically triggers resizing when exceeded.
Resizing: When t...
Collections are data structures that store groups of related objects or values, facilitating data management and manipulation.
Types of collections include Lists, Sets, Maps, and Queues.
Lists (e.g., ArrayList in Java) allow duplicate elements and maintain order.
Sets (e.g., HashSet in Java) store unique elements and do not maintain order.
Maps (e.g., HashMap in Java) store key-value pairs for efficient data retrieval.
Queu...
The container with most water problem involves finding the maximum area that can be formed between two vertical lines by selecting two points on a line.
Start with two pointers at the beginning and end of the array.
Calculate the area between the two pointers using the formula min(height[left], height[right]) * (right - left).
Move the pointer with the smaller height towards the center to potentially increase the area.
Rep...
I appeared for an interview in Aug 2023.
JQuery, html, CSS,oops
I appeared for an interview before Apr 2024, where I was asked the following questions.
I applied via Referral and was interviewed in Mar 2022. There were 2 interview rounds.
Top trending discussions
I applied via Monster and was interviewed before Apr 2020. There was 1 interview round.
A generic swap function swaps two values of any data type.
The function should take two parameters of any data type.
Use a temporary variable to store the value of one parameter.
Assign the value of the second parameter to the first parameter.
Assign the value of the temporary variable to the second parameter.
Search for an element in a rotated sorted linked list.
Find the pivot point where the list is rotated.
Divide the list into two sublists based on the pivot point.
Perform binary search on the appropriate sublist.
Handle edge cases such as empty list and list with only one element.
Search an element in a rotated sorted array
Find the pivot point where the array is rotated
Divide the array into two sub-arrays based on pivot point
Perform binary search on the appropriate sub-array
Repeat until element is found or sub-array size is 1
Given a Sudoku board, find possible numbers for an empty cell.
Iterate through empty cells and check possible numbers using row, column, and box constraints.
Use a set to keep track of possible numbers for each empty cell.
Return the set of possible numbers for the given empty cell.
Find integer average of 4 unsigned integers without typecasting
Add all the integers and divide by 4
Use bit shifting to divide by 4
Handle overflow by using long long data type
Use unsigned int data type for input
Code to identify 32 bit or 64 bit architecture of a processor
Check if the operating system is 32 bit or 64 bit
If OS is 32 bit, processor is 32 bit
If OS is 64 bit, check if processor supports 64 bit architecture
Use CPUID instruction to check if processor supports 64 bit architecture
Convert binary number to base 64 integer
Divide the binary number into groups of 6 bits
Convert each group of 6 bits to decimal
Map the decimal value to the corresponding base 64 character
Concatenate the base 64 characters to form the final integer
Creating test cases for random scenarios ensures software reliability and robustness through diverse input validation.
Identify edge cases: Test with minimum and maximum input values, e.g., an empty array vs. a large array.
Use random data: Generate random inputs to simulate real-world usage, e.g., random user names or passwords.
Test invalid inputs: Ensure the system handles unexpected inputs gracefully, e.g., negative n...
Some of the top questions asked at the Infor Global Solution Software Engineer interview -
based on 8 interview experiences
Difficulty level
Duration
based on 69 reviews
Rating in categories
Software Engineer
565
salaries
| ₹8.3 L/yr - ₹15.5 L/yr |
Financial Analyst
303
salaries
| ₹3.6 L/yr - ₹8 L/yr |
Senior Software Engineer
301
salaries
| ₹15.6 L/yr - ₹26.1 L/yr |
Associate Software Engineer
297
salaries
| ₹4.9 L/yr - ₹10 L/yr |
Quality Assurance Analyst
242
salaries
| ₹5.1 L/yr - ₹11.5 L/yr |
Oracle
Amdocs
Automatic Data Processing (ADP)
24/7 Customer