Add office photos
Employer?
Claim Account for FREE

Atlassian

3.6
based on 122 Reviews
Filter interviews by

10+ S4U by Shivali Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Structurally Unique Binary Trees of Dragon Balls

Goku has ‘N’ Dragon Balls, where each Dragon Ball is unique. The ith Dragon Ball has ‘i’ stars on it, meaning the first Dragon Ball has 1 star, the second has 2 ...read more

Add your answer

Q2. Weighted Job Scheduling Problem Statement

You have 'N' jobs, each with a start time, end time, and profit. Your task is to identify the maximum profit that can be earned by scheduling these jobs such that no tw...read more

Add your answer

Q3. Quick Sort Problem Statement

You are provided with an array of integers. The task is to sort the array in ascending order using the quick sort algorithm.

Quick sort is a divide-and-conquer algorithm. It involve...read more

Add your answer

Q4. Find K'th Character of Decrypted String

You are given an encrypted string where repeated substrings are represented by the substring followed by its count. Your task is to find the K'th character of the decrypt...read more

Add your answer
Discover S4U by Shivali interview dos and don'ts from real experiences

Q5. Job Scheduling Problem

You are provided with a list of jobs, where each job has a specific deadline and profit. The goal is to schedule these jobs such that the total profit is maximized. Each job requires exac...read more

Add your answer

Q6. Minimum Number of Platforms Problem

Your task is to determine the minimum number of platforms required at a railway station so that no train has to wait.

Explanation:

Given two arrays:

  • AT - representing the ar...read more
Add your answer
Are these interview questions helpful?

Q7. Spiral Order Traversal of a Binary Tree

Given a binary tree with N nodes, your task is to output the Spiral Order traversal of the binary tree.

Input:

The input consists of a single line containing elements of ...read more
Add your answer

Q8. Spell Checker Problem Statement

You are provided with a list of strings, DICTIONARY[], representing the correct spellings of words, and a query string QUERY that may contain misspelled words. Your task is to ve...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. What are the differences between low-level and high-level programming languages, and can you explain some kernel-related questions?
Add your answer

Q10. Design File System : You have given file size and collection in input 1 : get total size 2 : find top k collections in size

Ans.

Design a file system to calculate total size and find top k collections in size.

  • Create a file system class with methods to add files and calculate total size.

  • Maintain a data structure to store the collections and their sizes.

  • Implement a method to find the top k collections based on size.

  • Consider using a priority queue or sorting the collections based on size.

  • Handle edge cases like empty collections or invalid input sizes.

Add your answer

Q11. Find Top k collections

Ans.

The question is asking to find the top k collections.

  • Use a sorting algorithm to sort the collections in descending order based on a specific criteria.

  • Select the top k collections from the sorted list.

  • Return the selected collections as an array of strings.

Add your answer

Q12. Find total size

Ans.

Calculate the total size of an array of strings.

  • Iterate through the array and sum the length of each string.

  • Use the `length` property of each string to get its size.

  • Handle edge cases such as empty strings or null values.

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

Interview Process at S4U by Shivali

based on 6 interviews
1 Interview rounds
Coding Test Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.6
 • 122 Interview Questions
3.8
 • 107 Interview Questions
4.4
 • 85 Interview Questions
3.9
 • 67 Interview Questions
3.7
 • 33 Interview Questions
3.3
 • 24 Interview Questions
View all
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