PwC India interview experience Real time questions & tips from candidates to crack your interview

TC-Intern

PwC India
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Projects in my Resume- A brief Explanation, Data Structures and Algorithms, Data and Analytics Info, Database Management, Systems System Design
Tip
Tip

Tip 1 : Have a Brief Info of Resume. Know all things you are putting in your resume. Have a clear thorough the resume as they will be cross Questioning to check your knowledge
Tip 2 : At least do 2 to 3 Projects according to Company requirements. Like in my case it was Technology Consulting on Data Analytics. So your Resume should tell you that you know something about it.
 

Application process
Where: Campus
Eligibility: No backlogs
Resume Tip
Resume tip

Tip 1 : Have Work Experience in your resume
Tip 2 : Have 2-3 projects but have a brief Info about Each Project

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date4 Sep 2021
Coding problem2

1. Puzzle Question

How do we measure forty-five minutes using two identical wires, each of which takes an hour to burn? We have matchsticks with us. The wires burn non-uniformly. So, for example, the two halves of wire might burn in 10 minutes and 50 minutes respectively.

2. Intersection of Two Linked Lists

Easy
25m average time
73% success
0/40
Asked in companies
Hewlett Packard EnterpriseSamsungIntuit

You are given two Singly Linked Lists of integers, which may have an intersection point.

Your task is to return the first intersection node. If there is no intersection, return NULL.


Example:-
The Linked Lists, where a1, a2, c1, c2, c3 is the first linked list and b1, b2, b3, c1, c2, c3 is the second linked list, merging at node c1.

alt.txt

Try solving now
02
Round
Easy
Telephonic
Duration60 minutes
Interview date5 Sep 2021
Coding problem2

1. Puzzle Question

A person has 3000 bananas and a camel. The person wants to transport the maximum number of bananas to a destination which is 1000 KMs away, using only the camel as a mode of transportation. The camel cannot carry more than 1000 bananas at a time and eats a banana every km it travels. What is the maximum number of bananas that can be transferred to the destination using only camel (no other mode of transportation is allowed). 

2. Vertical Binary Tree

Easy
15m average time
85% success
0/40
Asked in companies
OlaPwC India

You are given an arbitrary binary tree consisting of N nodes numbered from 1 to N, your task is to print the nodes of this tree in the vertical order.

altImage

V1, V2, V3, V4 and V5 in the above figure denotes the vertical levels of the given binary tree. Now, if we want to print the tree in the vertical order, then we will start printing the node values on the segment V1 and will continue the same procedure till the segment V5, and while printing the node values for any vertical level, we will check if there is any node to the left of the current level which does not lie on any of the line segment then we will include that node also in the current level. For instance node with value 7 can be included in the level V3, and the node with value 8 can be included in the level V4.

The vertical traversal for the above binary tree would be 6 4 2 7 8 3 9.

Note:

1) The root node will be fixed and will be provided in the function.
2) Two nodes in the tree can have the same values, all values in the tree will be positive.
3) While printing the nodes for any particular vertical level print them in sorted order, i.e. in the above example nodes in the level 3 are 2,7 and 8 so it will be printed as 2 7 8.
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Technology Consultant - Associate
5 rounds | 12 problems
Interviewed by PwC India
2345 views
0 comments
0 upvotes
company logo
Data Analytics
3 rounds | 1 problems
Interviewed by PwC India
1383 views
0 comments
0 upvotes
company logo
Technical Consultant
3 rounds | 2 problems
Interviewed by PwC India
1121 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by PwC India
1151 views
0 comments
0 upvotes