Capgemini
20+ HashedIn by Deloitte Interview Questions and Answers
You have been given an integer array/list(ARR) of size N which contains numbers from 0 to (N - 2). Each number is present at least once. That is, if N = 5, the array/list constitutes values rangin...read more
You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more
Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matchi...read more
You are given 'N' rectangular buildings in a 2-dimensional city. Your task is to compute the skyline of these buildings, eliminating hidden lines return the skyline formed by these buildings ...read more
You have been given a binary tree of 'N' unique nodes and a Start node from where the tree will start to burn. Given that the Start node will always exist in the tree, your task is to print the...read more
You have been given two strings A and B consisting of lower case English letters. The task is to count the minimum number of pre-processing moves on the string A required...read more
You have a robot currently standing at the origin (0, 0) of a two-dimensional grid and facing north direction. You are given a sequence of moves for the robot in the form of a string of size 'N'. Y...read more
Pre-requisites: Anagrams are defined as words or names that can be formed by rearranging letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "r...read more
You will be given a stream of numbers, and you need to find the kth largest number in the stream at any given time.
As the stream of numbers can not be given during compile time, so you need to...read more
You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number...read more
. What will be the output of the following pseudocode?
Integer i
Set i = 3
do
print i + 3
i = i - 1
while(i not equals 0)
end while
He asked me to explain my project in detail.
What are my three favorite core subjects?
Differentiate the classic waterfall model and iterative model.
What are the types of integrity constants in...read more
There are 2 cup with 5 lt and 6 lt of water respectively. The objective is to pour exactly 9 lt of water in a bucket. How can it be accomplished?
Basic Apti qs were asked like
-Speed distance and time
- Work and time
- Profit loss
- Probability
- Percentage
What is a semaphore?
What is race condition?
Describe all the joins in SQL with a Venn diagram.
Q16. 1)What is oops? 2)difference between method overloading and method overriding? 3)what is static?
Answers to common questions asked in a software developer interview.
OOPs stands for Object-Oriented Programming which is a programming paradigm based on the concept of objects.
Method overloading is when multiple methods have the same name but different parameters, while method overriding is when a subclass provides its own implementation of a method that is already present in its parent class.
Static is a keyword used to create variables and methods that belong to a class rath...read more
Q17. What are the important categaries of software?
The important categories of software are system software, application software, and programming software.
System software: manages computer hardware and provides common services for other software. Examples: operating systems, device drivers, firmware.
Application software: performs specific tasks for end-users. Examples: word processors, web browsers, video games.
Programming software: provides tools for software developers to create, debug, and maintain software. Examples: com...read more
Q18. Why do you use two mobile numbers
To separate personal and professional calls, and to ensure availability and accessibility.
Separate personal and professional calls
Ensure availability and accessibility
Maintain work-life balance
Avoid mixing personal and work-related contacts
Q19. 1. Introduce yourself 2. How to fetch 50% record from table using SQL query
To fetch 50% records from a table using SQL query
Use the LIMIT clause to specify the number of records to return
Calculate 50% of the total records in the table to determine the limit value
Order the records in a specific way if needed before applying the LIMIT clause
Q20. 4)what is java& feature of java?
Java is a popular programming language known for its portability and security features.
Java is an object-oriented language
It is platform-independent and can run on any device with a JVM
Java has automatic memory management through garbage collection
It has strong security features such as sandboxing and encryption
Java has a vast library of pre-built classes and APIs
Examples of Java-based applications include Android apps, enterprise software, and web applications
Q21. what is filter in java 8
Filter in Java 8 is a method used to iterate through a collection and filter out elements based on a specified condition.
Filter is a method in the Stream interface in Java 8.
It takes a Predicate as an argument to specify the condition for filtering.
Example: List
names = Arrays.asList("Alice", "Bob", "Charlie"); List filteredNames = names.stream().filter(name -> name.startsWith("A")).collect(Collectors.toList());
Q22. Java opps concept and implementation
Java OOPs concepts refer to the principles of Object-Oriented Programming and their implementation in Java.
Java OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation involves bundling data and methods that operate on the data into a single unit.
Polymorphism allows objects to be treated as instances of their parent class.
Abstraction involves hiding the imple...read more
More about working at Capgemini
Top HR Questions asked in HashedIn by Deloitte
Interview Process at HashedIn by Deloitte
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month