I applied through a recruiter. I interviewed at Palo Alto Networks
Interview
The interviewer had a huge attitude. Initially he told me my solution (where I used HashSet) was wrong (mine is the optimal solution) and with 5 min left, he told me he would give me the correct solution but said he would be rating me very low. He actually gave a slower solution but facier 2 pointer solution. He ended the interview wishing me luck for future job opportunities (which I felt was very sarcastic). I checked the question asked in leetcode and saw my solution was actually correct and the optimal one. Arrogant interviewer. Will think twice before interviewing for Palo Alto networks again. The only place I failed was not knowing the property of tuple in Python.
Interview questions [1]
Question 1
3Sum tuple Given an array nums of n integers , are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.