PWC
Full Stack Developer
Second Highest Distinct Number in Array
Easy
Round 1codingCandidate Not Selected
Write a C# method that returns the second highest distinct number in an integer array. Input: `[10, 5, 20, 8, 20]` Output: `10` (since 20 is the highest and 10 is the next distinct value)
Code Snippets
text
input: [10, 5, 20, 8, 20]
output: 10This question was asked in
PWC Full Stack Developer Interview Experience
This interview experience covers a technical round at PwC for a full-stack role specializing in .NET and React. The 1-hour virtual interview tested a comprehensive mix of backend fundamentals, database architecture, coding, and modern React concepts. Overall, the interview had a medium difficulty level with a strong focus on practical implementation, API design, and component state management.