i
Shipsy
Filter interviews by
Sort an array of strings into groups of K elements
Iterate through the array and create subarrays of size K
Use a loop to go through the array and add elements to the subarrays
Handle cases where the array length is not divisible by K
Reverse a linked list by changing the next pointers of each node
Start with three pointers: current, prev, and next
Iterate through the list, updating the next pointer of each node to point to the previous node
Update prev and current pointers for next iteration
Reverse a linked list in groups of a specified size
Break the linked list into groups of the specified size
Reverse each group individually
Connect the reversed groups back together
Topological sorting is an ordering of vertices in a directed acyclic graph (DAG) where each directed edge u -> v implies u comes before v.
Topological sort is applicable only to Directed Acyclic Graphs (DAGs).
It can be implemented using Depth-First Search (DFS) or Kahn's algorithm.
Example: For a graph with edges (1 -> 2), (1 -> 3), (2 -> 4), a valid topological sort could be [1, 2, 3, 4] or [1, 3, 2, 4]...
Use Floyd's Tortoise and Hare algorithm to detect loop in a Linked List.
Initialize two pointers, slow and fast, at the head of the Linked List.
Move slow pointer by one step and fast pointer by two steps.
If they meet at any point, there is a loop in the Linked List.
Left view of BST is the nodes visible when viewing the tree from the left side.
The left view of a BST includes the leftmost node at each level.
Use level order traversal to find the left view nodes.
Example: For BST with nodes 1, 2, 3, 4, 5, the left view is 1, 2.
Building culture requires clear values, effective communication, and consistent actions.
Define and communicate core values
Encourage open communication and feedback
Lead by example and consistently reinforce desired behaviors
Create opportunities for team building and recognition
Provide ongoing training and development
Celebrate successes and learn from failures
Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen devices.
Android is open-source and allows developers to create applications using Java programming language.
Android applications are distributed through the Google Play Store.
Android supports a wide range of hardware devices from various manufacturers.
Android provides a rich set of APIs for de...
I applied via LinkedIn and was interviewed in Sep 2024. There were 3 interview rounds.
I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.
Sort an array of strings into groups of K elements
Iterate through the array and create subarrays of size K
Use a loop to go through the array and add elements to the subarrays
Handle cases where the array length is not divisible by K
Reverse a linked list by changing the next pointers of each node
Start with three pointers: current, prev, and next
Iterate through the list, updating the next pointer of each node to point to the previous node
Update prev and current pointers for next iteration
Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen devices.
Android is open-source and allows developers to create applications using Java programming language.
Android applications are distributed through the Google Play Store.
Android supports a wide range of hardware devices from various manufacturers.
Android provides a rich set of APIs for develop...
Hackerrank coding test
Reverse a linked list in groups of a specified size
Break the linked list into groups of the specified size
Reverse each group individually
Connect the reversed groups back together
posted on 10 Jul 2024
Left view of BST is the nodes visible when viewing the tree from the left side.
The left view of a BST includes the leftmost node at each level.
Use level order traversal to find the left view nodes.
Example: For BST with nodes 1, 2, 3, 4, 5, the left view is 1, 2.
DSA questions ...do practice leetcode daily problems
It was 1 coding que from string
Good discussion about company
I appeared for an interview before Jun 2024, where I was asked the following questions.
A viewmodel is a class that stores and manages UI-related data in a lifecycle-conscious way.
Viewmodel survives configuration changes like screen rotations
It is not destroyed when the activity is destroyed
It is typically used to hold data for the UI to display
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Metrics in airplane industry
Top trending discussions
based on 16 interview experiences
Difficulty level
Duration
based on 121 reviews
Rating in categories
Software Engineer
46
salaries
| ₹7 L/yr - ₹25 L/yr |
Product Manager
23
salaries
| ₹17.6 L/yr - ₹32 L/yr |
Senior Software Engineer
22
salaries
| ₹14 L/yr - ₹45 L/yr |
Associate Product Manager
18
salaries
| ₹7.5 L/yr - ₹26 L/yr |
Sales Manager
16
salaries
| ₹25.3 L/yr - ₹36 L/yr |
Vyapar
Nowfloats Technologies
ShopKirana
Tata nexarc