i
Resmed
Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
C,c++ questions and two coding questions. basic mcq
TreeSet and HashSet are both implementations of the Set interface in Java, but they have some key differences.
TreeSet is a sorted set that maintains elements in ascending order, while HashSet does not guarantee any specific order.
TreeSet uses a Red-Black tree data structure for storage, which allows for efficient retrieval of elements in sorted order.
HashSet uses a hash table for storage, which provides constant-time p...
Top trending discussions
Formula to calculate number of squares that can fit inside a triangle
Calculate the area of the triangle and the area of the square
Divide the area of the triangle by the area of the square to get the number of squares that can fit inside the triangle
Formula: (h*b)/(a*a)
SVM is a machine learning algorithm used for classification and regression analysis.
SVM finds the best hyperplane that separates data into different classes.
It works by maximizing the margin between the hyperplane and the closest data points.
SVM can handle both linear and non-linear data using kernel functions.
It is widely used in image classification, text classification, and bioinformatics.
SVM has been shown to be ef...
Logistic regression is used for classification while linear regression is used for regression analysis.
Logistic regression predicts the probability of an event occurring, while linear regression predicts the value of a continuous variable.
Logistic regression uses a sigmoid function to map input values to a probability between 0 and 1.
Linear regression assumes a linear relationship between the independent and dependent ...
I appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Medium
30 Aptitude problems and two coding questions
Given an integer array ARR
of size N
, your task is to find the total number of inversions that exist in the array.
An inversion is defined for a pair of integers in the...
Count the total number of inversions in an integer array.
Iterate through the array and for each pair of elements, check if the conditions for inversion are met.
Use a nested loop to compare each pair of elements efficiently.
Keep a count of the inversions found and return the total count at the end.
Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array.
array = [34, -50, 42, 14, -5, 86]
Find the maximum sum of any contiguous subarray within an array of integers.
Iterate through the array and keep track of the maximum sum of subarrays encountered so far.
At each index, decide whether to include the current element in the subarray or start a new subarray.
Use Kadane's algorithm to solve the problem efficiently.
Example: For array [34, -50, 42, 14, -5, 86], the maximum subarray sum is 137.
Round duration - 90 minutes
Round difficulty - Medium
Data structure and algorithms plus object oriented problems
You are given a sequence of numbers, ARR
. Your task is to return a sorted sequence of ARR
in non-descending order using the Merge Sort algorithm.
The Merge Sort...
Implement Merge Sort algorithm to sort a sequence of numbers in non-descending order.
Divide the input array into two halves recursively until each array has only one element.
Merge the sorted halves to produce a completely sorted array.
Time complexity of Merge Sort is O(n log n).
Example: Input: [3, 1, 4, 1, 5], Output: [1, 1, 3, 4, 5]
Given a singly linked list of integers and a reference to a node, your task is to delete that specific node from the linked list. Each node in the linked li...
Given a singly linked list of integers and a reference to a node, delete the specified node from the linked list.
Traverse the linked list to find the node to be deleted
Update the pointers to skip over the node to be deleted
Print the modified linked list after deletion
Round duration - 60 miinutes
Round difficulty - Easy
Database questions and discussion about projects
Normal forms in database management systems help in organizing data to reduce redundancy and improve data integrity.
Normal forms are rules used to design relational database tables to minimize redundancy and dependency.
Boyce-Codd Normal Form (BCNF) is a stricter version of Third Normal Form (3NF) where every determinant is a candidate key.
BCNF helps in eliminating anomalies like insertion, update, and deletion anomalie...
WHILE is used in loops to repeatedly execute a block of code, while HAVING is used in SQL queries to filter results based on aggregate functions.
WHILE is used in programming languages like SQL to create loops for executing a block of code multiple times.
HAVING is used in SQL queries to filter results based on aggregate functions like SUM, COUNT, AVG, etc.
WHILE is used for iterative operations, while HAVING is used for ...
Tip 1 : Competitive Programming
Tip 2 : Do atleast 2 projects
Tip 1 : To be precise, mention your technical skills, achievements, dont write anything unnecessary plus write your professional summary good mention your project details in not more than 2 lines and make sure those sentences make sense to reader.
Tip 2 : Resume should be not more than one page. Write everything within one page
posted on 9 Nov 2022
I applied via Approached by Company and was interviewed before Nov 2021. There were 4 interview rounds.
Basic problem solving easy to medium level
Sorting algorithm arranges elements in a specific order.
Choose an appropriate sorting algorithm based on the data size and type.
Common sorting algorithms include bubble sort, insertion sort, merge sort, quicksort, and selection sort.
Implement the chosen algorithm in the programming language of choice.
Test the algorithm with various input sizes and types to ensure correctness and efficiency.
I applied via Walk-in and was interviewed in May 2022. There were 2 interview rounds.
Convert Number to words
SOLID principles are a set of guidelines for writing maintainable and scalable code.
Single Responsibility Principle: A class should have only one reason to change.
Open/Closed Principle: A class should be open for extension but closed for modification.
Liskov Substitution Principle: Subtypes should be substitutable for their base types.
Interface Segregation Principle: Clients should not be forced to depend on interfaces ...
posted on 9 Sep 2023
I applied via Naukri.com and was interviewed in Aug 2023. There were 2 interview rounds.
React hooks are functions that let you use state and other React features without writing a class.
Hooks are functions that let you use state and other React features in functional components
useState() is a hook that allows you to add state to functional components
useEffect() is a hook that allows you to perform side effects in functional components
useContext() is a hook that allows you to use the context API in functio...
Liskov Substitution Principle states that objects of a superclass should be replaceable with objects of its subclasses without affecting the program's correctness.
Subtypes must be substitutable for their base types.
Derived classes must be able to replace their base classes without affecting the program's behavior.
Violating this principle can lead to unexpected behavior and errors in the code.
Example: If a program expec...
Oops concept is a programming paradigm that focuses on objects and classes.
Oops stands for Object-Oriented Programming
Key concepts include inheritance, encapsulation, polymorphism, and abstraction
Examples: Class Car with properties like make, model, and methods like start(), stop()
Example: Inheritance - Class SUV extends Car and adds property numSeats
posted on 5 Sep 2022
posted on 31 Oct 2023
I applied via Campus Placement and was interviewed before Oct 2022. There were 4 interview rounds.
It was an MCQ based test. Code Snippets as well as OOPS, OS, DBMS questions were there
posted on 31 May 2021
I applied via Company Website and was interviewed in May 2021. There were 4 interview rounds.
Multithreading in Java allows multiple threads to execute concurrently within a single program.
Java provides built-in support for multithreading through the java.lang.Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
Synchronization is used to prevent race conditions and ensure thread safety.
Java also provides several classes and interfaces for managing thread exec...
based on 1 interview experience
Difficulty level
Duration
Senior Software Engineer
20
salaries
| ₹30 L/yr - ₹47.5 L/yr |
Software Engineer
13
salaries
| ₹21.4 L/yr - ₹37 L/yr |
Accounts Manager
9
salaries
| ₹13.1 L/yr - ₹22.5 L/yr |
Legal Counsel
8
salaries
| ₹28.4 L/yr - ₹31.4 L/yr |
Key Account Manager
8
salaries
| ₹11 L/yr - ₹18.3 L/yr |
GeBBS Healthcare Solutions
UnitedHealth
Johnson & Johnson
Thyrocare Technologies