Add office photos
Engaged Employer

Oracle

3.7
based on 5k Reviews
Filter interviews by

20+ Opulence Wealth Labs Interview Questions and Answers

Updated 17 Nov 2024
Popular Designations
Q1. Regular Expression Match

Given a string ‘str’ and a string ‘pat’. The string s has some wildcard characters i.e ‘?’ and ‘*’.

If any character is a ‘?’ we can replace that character with any other character. If a...read more
View 3 more answers
Q2. Implement Merge Sort

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm - Merge sor...read more
View 2 more answers
Q3. Implement a Priority Queue

Ninja is given a task to implement a priority queue using Heap data structure. The Ninja is busying preparing for the tournament., So he asked for your help.

Your task is to use the cl...read more

Add your answer

Q4. Given a social networking graph find the density of a person. Density is how many friends he had interaction with him and the person by the total number of friends for that person

Ans.

Density of a person in a social networking graph is the ratio of friends who interacted with the person to the total number of friends.

  • Calculate the number of friends who interacted with the person.

  • Calculate the total number of friends for that person.

  • Divide the number of interacting friends by the total number of friends to get the density.

  • Density = (Number of interacting friends) / (Total number of friends)

Add your answer
Discover Opulence Wealth Labs interview dos and don'ts from real experiences

Q5. You are given a list of n numbers. How would you find the median in this stream. You are given an array. Give an algorithm to randomly shuffle it.

Ans.

Algorithm to find median in a stream of n numbers

  • Sort the list and find the middle element for odd n

  • For even n, find the average of middle two elements

  • Use a min-heap and max-heap to maintain the smaller and larger half of the stream respectively

  • Insert new elements into the appropriate heap and balance the heaps to ensure median is always at the top

Add your answer

Q6. Given 2 arrays of n and n - 1elements which have n - 1 in common find the unique elements

Ans.

Given 2 arrays with n and n-1 elements, find the unique element in the larger array.

  • Loop through the larger array and check if each element is present in the smaller array.

  • If an element is not present in the smaller array, it is the unique element.

  • Return the unique element.

  • Example: arr1 = ['a', 'b', 'c', 'd'], arr2 = ['a', 'b', 'c'], unique element = 'd'

Add your answer
Are these interview questions helpful?
Q7. STL Question

From which STL we can insert/remove data from anywhere?

Add your answer
Q8. OOPS Question

How does C++ support Polymorphism?

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. Operating System Question

What is thrashing in OS?

Add your answer
Q10. STL Question

Which data structure is used by Map?

Add your answer
Q11. OOPS Question

What are the various types of inheritance?

Add your answer
Q12. Operating System Question

What is a thread in OS?

Add your answer

Q13. Given a map of coffee shops and a person on the map give the closest n coffee shops to him

Ans.

Given a map of coffee shops and a person, find the closest n coffee shops to him.

  • Use the person's location and calculate the distance to each coffee shop on the map.

  • Sort the coffee shops by distance and return the closest n.

  • Consider using a data structure like a priority queue to efficiently find the closest coffee shops.

Add your answer
Q14. System Design Question

Design a Whatsapp Chat System

Add your answer
Q15. Operating System Question

Explain zombie process?

Add your answer

Q16. Given 2 arrays one of n elements and another of n - 1 elements

Ans.

Given 2 arrays, one with n elements and another with n-1 elements, answer the question.

  • Compare the elements of both arrays to find the missing element.

  • Use a loop or a built-in function to iterate through the arrays.

  • Consider edge cases where the missing element is at the beginning or end of the array.

Add your answer
Q17. Computer Network Question

Classful vs Classless Addressing

Add your answer
Q18. Computer Network Question

Difference between TCP and UDP

Add your answer

Q19. Xpath and css for web elements

Ans.

Xpath and CSS are used to locate web elements on a webpage.

  • Xpath is a language used to navigate through the XML structure of a webpage.

  • CSS selectors are used to target specific HTML elements on a webpage.

  • Xpath can be used to locate elements based on their attributes, text content, or position on the page.

  • CSS selectors can be used to locate elements based on their tag name, class, ID, or attributes.

  • Both Xpath and CSS can be used in automated testing frameworks like Selenium to...read more

Add your answer

Q20. What is dynamic programming?

Ans.

Dynamic programming is a technique to solve complex problems by breaking them down into smaller subproblems.

  • It involves solving subproblems only once and storing their solutions for future use.

  • It is used in optimization problems, such as finding the shortest path or maximizing profit.

  • Examples include the knapsack problem and the Fibonacci sequence.

  • It can be implemented using either a top-down or bottom-up approach.

  • Dynamic programming requires both optimal substructure and ove...read more

Add your answer

Q21. What is garbage collection?

Ans.

Garbage collection is an automatic memory management process.

  • It frees up memory that is no longer being used by the program.

  • It helps prevent memory leaks and crashes caused by running out of memory.

  • Examples include Java's garbage collector and Python's reference counting.

  • Garbage collection can have an impact on performance and should be tuned accordingly.

Add your answer

Q22. Design and explain ext file system

Ans.

Ext file system is a widely used file system in Linux for organizing and managing files on storage devices.

  • Ext stands for Extended File System

  • Supports features like journaling, access control lists, and extended attributes

  • Uses inodes to store metadata about files and directories

  • Supports different block sizes for efficient storage allocation

Add your answer

Q23. Singleton DP to write

Ans.

Singleton design pattern is a creational design pattern that restricts the instantiation of a class to a single object.

  • Singleton pattern ensures that only one instance of a class is created and provides a global point of access to it.

  • It is often used in scenarios where a single instance of a class is required to control actions or resources.

  • The Singleton pattern involves a static member in the class, a private constructor, and a static method that returns the instance of the ...read more

Add your answer

More about working at Oracle

#22 Best Mega Company - 2022
#3 Best Internet/Product Company - 2022
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Opulence Wealth Labs

based on 6 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Member Technical Staff Interview Questions from Similar Companies

4.0
 • 20 Interview Questions
4.3
 • 15 Interview Questions
3.6
 • 10 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
Get AmbitionBox app

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