Filter interviews by
Use Stream API to reverse a sentence
Split the sentence into words using split() method
Convert the array of words into a Stream using Arrays.stream()
Use Stream API operations like map(), collect() and joining() to reverse the sentence
React hooks are functions that let you use state and other React features in functional components.
useState: allows functional components to have local state
useEffect: allows side effects in functional components
useContext: allows functional components to access context
useReducer: alternative to useState for more complex state logic
useMemo: memoizes the result of a function
useCallback: memoizes a callback function
...
Var is function scoped, let is block scoped in JavaScript.
Var is function scoped, let is block scoped
Var can be redeclared, let cannot
Var is hoisted to the top of the function, let is not
Use let for block-level variables, var for function-level variables
public static void main is the entry point of a Java program
public: access modifier that allows the main method to be accessed from anywhere
static: indicates that the main method belongs to the class and not to an instance of the class
void: indicates that the main method does not return any value
main: the name of the method that serves as the entry point of the program
String[] args: an array of strings that can be...
What people are saying about PwC
Remove duplicates in array
Use a hash table to keep track of seen elements
Sort the array and remove duplicates in a single pass
Use Stream API to reverse a sentence
Split the sentence into words using split() method
Convert the array of words into a Stream using Arrays.stream()
Use Stream API operations like map(), collect() and joining() to reverse the sentence
I appeared for an interview in Feb 2025, where I was asked the following questions.
I applied via Job Portal
Asked performance based questions like Looping vs MNI, Start Process vs Async Subprocess
I applied via Company Website and was interviewed in Sep 2023. There were 3 interview rounds.
It was an basic aptitude test
System design round which is basic and need to satisfy them
I applied via Campus Placement and was interviewed in Jul 2022. There was 1 interview round.
Remove duplicates in array
Use a hash table to keep track of seen elements
Sort the array and remove duplicates in a single pass
I applied via Referral and was interviewed before Oct 2022. There were 2 interview rounds.
Basic Maths was asked by the test
I applied via LinkedIn and was interviewed in Nov 2020. There was 1 interview round.
OOP is a programming paradigm based on objects, encapsulating data and behavior for modular and reusable code.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same interface for differe...
based on 9 interview experiences
Difficulty level
Duration
based on 32 reviews
Rating in categories
Senior Associate
20.2k
salaries
| ₹12.7 L/yr - ₹25.4 L/yr |
Associate
15.6k
salaries
| ₹8.1 L/yr - ₹14.6 L/yr |
Manager
7.6k
salaries
| ₹22.5 L/yr - ₹41 L/yr |
Senior Consultant
5.1k
salaries
| ₹16 L/yr - ₹27 L/yr |
Associate2
4.9k
salaries
| ₹7.5 L/yr - ₹14 L/yr |
Deloitte
Ernst & Young
Accenture
TCS