Add office photos
Engaged Employer

Shipsy

3.9
based on 103 Reviews
Filter interviews by

UST Interview Questions and Answers

Updated 2 Aug 2024

Q1. Sort an array into group of K elements

Ans.

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

Add your answer

Q2. Reverse a linked list

Ans.

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

Add your answer

Q3. Android In depth

Ans.

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 developers to access device features such as camera, GPS, and sen...read more

Add your answer
Asked in
SDE Interview

Q4. Linked List Reverse in groups

Ans.

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

Add your answer
Discover UST interview dos and don'ts from real experiences

Q5. How would you build culture?

Ans.

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

Add your answer

Q6. How does a viewmodel work internally

Ans.

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

Add your answer

Q7. Detect loop in a Linked List

Ans.

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.

Add your answer

Q8. Left view of BST

Ans.

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.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at UST

based on 11 interviews
Interview experience
3.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.7
 • 417 Interview Questions
4.0
 • 244 Interview Questions
4.3
 • 174 Interview Questions
4.1
 • 157 Interview Questions
3.8
 • 131 Interview Questions
4.3
 • 131 Interview Questions
View all
Top Shipsy Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter