Add office photos
Employer?
Claim Account for FREE

Medlife

3.7
based on 534 Reviews
Video summary
Filter interviews by

Stumpp Schuele & Somappa Springs Interview Questions and Answers

Updated 5 Feb 2024

Q1. When we type a part of a word in chrome, how is it able to show all the types of words, which are consisted of that part

Ans.

Chrome uses an algorithm to predict and suggest words based on user input.

  • Chrome's algorithm uses a combination of user history, bookmarks, and popular searches to predict and suggest words.

  • The algorithm also takes into account the frequency and recency of the user's input.

  • Chrome's suggestion feature is powered by Google's Autocomplete API, which uses machine learning to predict and suggest words.

  • The suggestions are displayed in a dropdown menu as the user types.

  • The user can ...read more

Add your answer

Q2. What is the Time Complexity of Binary Search and it's derivation

Ans.

Binary Search has a time complexity of O(log n) and is derived from dividing the search space in half at each step.

  • Binary Search is a search algorithm that works on sorted arrays.

  • It starts by comparing the target value to the middle element of the array.

  • If the target value is smaller, the search continues on the lower half of the array.

  • If the target value is larger, the search continues on the upper half of the array.

  • This process is repeated until the target value is found or...read more

Add your answer

Q3. How to implement an operation with Stacks which will be similar to Queue

Ans.

Implementing a Queue using Stacks

  • Use two stacks to implement a queue

  • Push elements onto the first stack

  • When dequeuing, pop all elements from the first stack and push onto the second stack

  • Pop the top element from the second stack to dequeue

  • If the second stack is empty, pop all elements from the first stack and push onto the second stack

Add your answer

Q4. Write code for Fibonacci Series using Recursion, Iteration and Dynamic Programming

Ans.

Code for Fibonacci Series using Recursion, Iteration and Dynamic Programming

  • Recursion: Define a function that calls itself with the previous two numbers in the series as arguments

  • Iteration: Use a loop to calculate the series by adding the previous two numbers in each iteration

  • Dynamic Programming: Store the previous two numbers in variables and use them to calculate the next number in the series

Add your answer
Discover Stumpp Schuele & Somappa Springs interview dos and don'ts from real experiences

Q5. Write code for MergeSort

Ans.

MergeSort is a divide and conquer algorithm that sorts an array of strings.

  • Divide the array into two halves

  • Recursively sort the two halves

  • Merge the sorted halves

Add your answer

Q6. Write code for QuickSort

Ans.

QuickSort is a sorting algorithm that uses divide and conquer approach.

  • Choose a pivot element from the array

  • Partition the array into two sub-arrays, one with elements less than the pivot and one with elements greater than the pivot

  • Recursively apply the above steps to the sub-arrays

  • Combine the sorted sub-arrays to get the final sorted array

Add your answer

Q7. Explain about Counting Sort

Ans.

Counting Sort is a sorting algorithm that sorts elements by counting the number of occurrences of each unique element.

  • Count the occurrences of each element in the array

  • Calculate the cumulative sum of the counts

  • Place each element in the sorted array based on its count and cumulative sum

  • Time complexity is O(n+k) where n is the number of elements and k is the range of input

  • Example: Sort an array of strings based on their length using Counting Sort

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 57 Interview Questions
3.5
 • 34 Interview Questions
2.6
 • 12 Interview Questions
3.5
 • 11 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
75 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