Faster and better experience!
i
Expedia Group
Filter interviews by
I applied via Campus Placement and was interviewed before Feb 2023. There were 2 interview rounds.
The question involves finding the sum of right leaf nodes and swapping nodes in groups of k.
The sum of right leaf nodes can be found by traversing the tree and checking if a node is a right leaf node.
Swapping nodes in groups of k can be done by iterating through the linked list and swapping the nodes in each group.
Examples: For the sum of right leaf nodes, consider a binary tree with nodes 1, 2, 3, 4, 5. The sum would ...
posted on 12 Feb 2024
I applied via Campus Placement and was interviewed before Feb 2023. There were 2 interview rounds.
The question involves reversing nodes in groups of k and finding the sum of right leaf nodes.
Implement a function to reverse nodes in groups of k
Traverse the reversed linked list and find the sum of right leaf nodes
Handle edge cases like when the number of nodes is not a multiple of k
The question involves finding the pivot in a rotated sorted array using combinatorics and count sort.
To find the pivot in a rotated sorted array, we can use a modified binary search algorithm.
First, we compare the middle element with the first element to determine if the pivot is in the left or right half.
Then, we continue dividing the array in half and adjusting the search range based on the pivot's location.
Count sor...
Top trending discussions
posted on 31 Aug 2023
2 mid level questions on ds
Designed a system for a project involving real-time data processing and analysis.
Utilized microservices architecture for scalability and flexibility
Implemented message queues for asynchronous communication between components
Used a combination of relational and NoSQL databases for different data storage needs
I have followed the modular design pattern while building modules.
I break down the software into smaller, independent modules that can be easily managed and maintained.
I ensure each module has a clear purpose and well-defined interfaces for communication with other modules.
I use techniques like encapsulation, abstraction, and separation of concerns to create modular designs.
Example: Using the MVC (Model-View-Controller...
posted on 21 Sep 2024
I applied via Naukri.com and was interviewed before Sep 2023. There were 2 interview rounds.
20 mins test aptitute
posted on 28 Jun 2023
I applied via Campus Placement
Medium Level DSA problems were asked
The question involves solving a medium level problem related to binary trees.
Understand the basic concepts of binary trees such as nodes, edges, and traversal methods.
Practice implementing common operations on binary trees like insertion, deletion, and searching.
Consider using recursion to solve problems involving binary trees.
An example of a medium level problem could be finding the lowest common ancestor of two nodes
posted on 5 Apr 2023
I applied via Referral and was interviewed before Apr 2022. There were 4 interview rounds.
2 medium leetcode questions were asked. Overall it was an easy round.
It was an aptitude test. Read up on the Leadership principles and be ready to sit in one place for 2 hours.
Delete the nth node in a linked list.
Traverse the linked list to find the nth node and keep track of the previous node.
Update the previous node's next pointer to skip the nth node.
Free the memory allocated to the nth node.
posted on 4 Dec 2023
I applied via Company Website and was interviewed before Dec 2022. There were 3 interview rounds.
Very good question and answers easy leetcode question
posted on 27 Apr 2023
I applied via Referral and was interviewed before Apr 2022. There were 4 interview rounds.
2 Medium difficulty level questions + situation-based questions on Amazon leadership principles are asked.
Print the boundary nodes of a tree.
Boundary nodes are the leftmost and rightmost nodes of each level of the tree and the leaf nodes that are not part of the subtree.
Traverse the tree in a clockwise direction and print the nodes as you encounter them.
Use recursion to traverse the tree and keep track of the level and whether the node is a left or right boundary node.
Hamming distance is the number of differing bits between two binary strings. Hamming weight is the number of 1s in a binary string.
Hamming distance is used in error detection and correction codes.
Hamming weight is also known as population count or popcount.
To calculate hamming distance, XOR two numbers and count the number of 1s in the result.
Example: Hamming distance between 1010 and 1110 is 1.
Example: Hamming weight
Singly and doubly linked lists are linear data structures used to store and manipulate data.
Singly linked lists use less memory than doubly linked lists
Doubly linked lists allow for traversal in both directions
Singly linked lists are faster for insertion and deletion at the beginning of the list
Doubly linked lists are faster for insertion and deletion in the middle of the list
Both have O(n) time complexity for searchin
Sorting algorithms include bubble sort, insertion sort, selection sort, quick sort, merge sort, etc. Merge sort has O(nlogn) time complexity.
Sorting algorithms are used to arrange data in a specific order.
Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts each half, and then merges the sorted halves.
The time complexity of merge sort is O(nlogn) because it divides the input ...
posted on 17 Jun 2023
I applied via Campus Placement and was interviewed before Jun 2022. There were 3 interview rounds.
It was a mix of the following:
Short debugging-type questions from DSA.
2 DSA problems medium level
posted on 24 Aug 2017
based on 2 interviews
Interview experience
based on 1 review
Rating in categories
Software Development Engineer II
181
salaries
| ₹15.6 L/yr - ₹40 L/yr |
Software Development Engineer
96
salaries
| ₹12 L/yr - ₹36 L/yr |
Software Development Engineer 3
71
salaries
| ₹30 L/yr - ₹55 L/yr |
Software Developer
66
salaries
| ₹10 L/yr - ₹41.8 L/yr |
Software Engineer
46
salaries
| ₹12 L/yr - ₹38 L/yr |
MakeMyTrip
Yatra
Cleartrip
Goibibo