PwC

PwC

PricewaterhouseCoopers, a multinational professional services network.

4 Rounds ~21 Days Medium
Start Mock Interview

The Interview Loop

Recruiter Screen (30 min)

Standard fit check, behavioral questions, and resume overview.

Technical Loop (3-4 Rounds)

Deep dive into domain knowledge, coding, and system design.

Interview Question Bank

Backend Engineer Coding medium

Find the lowest common ancestor of two nodes in a binary search tree.

#Trees #Binary Search Tree #Recursion
Backend Engineer Coding medium

Given a list of intervals, merge all overlapping intervals.

#Arrays #Sorting
Backend Engineer Coding easy

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

#Arrays #Hash Map
Backend Engineer Coding easy

Write a function to check if a given string containing brackets is valid (properly closed and nested).

#Strings #Stack
Backend Engineer Coding medium

Given an array of strings, group the anagrams together.

#Strings #Hash Map #Sorting
Backend Engineer Coding medium

Given a string, find the length of the longest substring without repeating characters.

#Strings #Sliding Window #Hash Map
Cloud Engineer Coding easy

Given an array of integers representing daily cloud compute costs, write a function to find the maximum cost increase between any two consecutive days.

#Arrays #Logic #FinOps
Data Engineer Coding medium

Given a list of dictionaries representing nested JSON data from a client API, write a Python script to flatten the dictionaries into a single level.

#Python #Recursion #Data Parsing #JSON
Data Engineer Coding easy

Write a Python function to check if a given string is a valid palindrome, ignoring case and all non-alphanumeric characters.

#Python #String Manipulation #Two Pointers
Data Engineer Coding hard

Write a Python generator function to process a massive 50GB log file line by line without loading the entire file into memory, extracting specific error codes.

#Python #Generators #Memory Management #File I/O
Data Scientist Coding easy

Implement a binary search algorithm in Python to find a specific transaction ID in a sorted list of 10 million records.

#Binary Search #Time Complexity #Python
Data Scientist Coding easy

Write a Python function that takes a list of strings representing financial document titles and returns the longest common prefix among them.

#Strings #Arrays #Optimization
DevOps Engineer Coding medium

Write a Python function to parse a large Nginx access log file and return the top 5 IP addresses with the most 404 errors.

#Python #Log Parsing #Data Structures
DevOps Engineer Coding easy

Given an array of integers, write a script to find the two numbers that add up to a specific target. (Two Sum)

#Python #Data Structures
Full Stack Engineer Coding medium

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.

#Heap #Sorting #Divide and Conquer
Full Stack Engineer Coding easy

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

#Arrays #Hash Map
Full Stack Engineer Coding easy

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

#Strings #Stack
Full Stack Engineer Coding medium

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.

#Arrays #Sorting
Full Stack Engineer Coding medium

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.

#Design #Linked List #Hash Map
Full Stack Engineer Coding medium

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

#Strings #Hash Map
Full Stack Engineer Coding easy

Given the head of a singly linked list, reverse the list, and return the reversed list.

#Linked List
Machine Learning Engineer Coding medium

Write a Python function from scratch to compute the TF-IDF scores for a corpus of text documents without using scikit-learn.

#Python #NLP #Math
Machine Learning Engineer Coding medium

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input. This is often used to consolidate overlapping client transaction windows.

#Arrays #Sorting #Intervals
Machine Learning Engineer Coding hard

Implement the core update step of the K-Means clustering algorithm in Python using NumPy.

#Python #NumPy #Machine Learning
Machine Learning Engineer Coding medium

Given a large list of server log error codes, write a function to find the top K most frequent error codes. Optimize for time complexity.

#Heaps #Hash Maps #Counting
Software Engineer Coding easy

Given an array of transaction amounts, find two transactions that sum up to a specific flagged fraudulent amount.

#Arrays #Hash Maps
Software Engineer Coding medium

Given a list of overlapping tax reporting periods represented as intervals, write a function to merge all overlapping intervals.

#Arrays #Sorting
Software Engineer Coding medium

You are given an array of integers representing coin denominations and a total amount. Write a function to compute the fewest number of coins needed to make up that amount.

#Dynamic Programming
Software Engineer Coding medium

Given an organizational hierarchy represented as a binary tree, find the lowest common manager (Lowest Common Ancestor) of two employees.

#Trees #Recursion
Software Engineer Coding medium

Given a string, find the length of the longest substring without repeating characters.

#Strings #Sliding Window
Software Engineer Coding medium

Write a program to group an array of transaction descriptions into anagrams to identify potentially duplicated or obfuscated entries.

#Strings #Hash Maps
Software Engineer Coding hard

Given a list of project tasks with dependencies, determine if it is possible to finish all tasks (detect if there is a cycle).

#Graphs #Topological Sort #DFS
Software Engineer Coding easy

Write a function to validate if a string containing a mathematical formula (with parentheses, brackets, and braces) is properly balanced.

#Strings #Stacks

Difficulty Radar

Based on recent AI-sourced data.

Meet Your Interviewers

The "Standard" Interviewer

Senior Engineer

Focuses on core competencies, system constraints, and clear communication.

Simulate

Unwritten Rules

Think Out Loud

Always explain your thought process before writing code or drawing architecture.

Practice Now