Add office photos
Engaged Employer

Oracle

3.7
based on 5.1k Reviews
Filter interviews by

The event hub Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. ...read more

Number and Digits Problem Statement

You are provided with a positive integer N. Your task is to identify all numbers such that the sum of the number and its digits equals N.

Example:

Input:
N = 21
Output:
[15]
Add your answer

Q2. Preorder Traversal to BST Problem Statement

Given an array or list PREORDER representing the preorder traversal of a Binary Search Tree (BST) with N nodes, construct the BST which matches the given preorder tra...read more

Add your answer

Q3. Check if a Number is Binary

Determine if a given string of integers bin represents a valid binary number. Return 'true' if the string represents a valid binary number, otherwise return 'false'. A binary number ...read more

Add your answer

Q4. Rearrange The Array Problem Statement

You are given an array/list 'NUM' of integers. Rearrange the elements of 'NUM' such that no two adjacent elements are the same in the rearranged array.

Example:

Input:
NUM[...read more
Add your answer
Discover The event hub interview dos and don'ts from real experiences

Q5. Reverse a String Problem Statement

Given a string STR containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.

Input:

The input starts with a single integer '...read more
Add your answer
Q6. What will be the result when adding two binary numbers in a 64-bit and a 32-bit operating system?
Add your answer

Q7. What is singleton class

Ans.

A singleton class is a class that can only have one instance created at a time.

  • Singleton classes are often used for managing resources that should only have one instance, such as a database connection.

  • They are implemented by making the constructor private and providing a static method to access the single instance.

  • Singleton classes can also be used for global state management in an application.

  • In Java, the Singleton pattern can be implemented using the enum type.

  • Singleton cla...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 Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Mts1 Interview Questions from Similar Companies

3.8
 • 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

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