I applied through other source. I interviewed at Palo Alto Networks (Bengaluru) in Sept 2021
Interview
Fair enough but i think the expectation is on the peak, Initial hacker rank round with LC question difficult to crack . Good HR response i couldn't crack system design round
Interview questions [3]
Question 1
Task 2: If the user is Active - find all posts created by that user
GET /public-api/users/<userid>/posts Retrieves user posts
Task 3: If any of the posts doesnt have any comments - Add a comment to that post
GET /public-api/posts/<postid>/comments Retrieves post comments
arr1 = [4, 32, 5, 9, 12, 6, 3, 1]
arr2= [12, 0, 4, 22, 5, 1, 3, 8, 10, 20]
# sum of the array index divisible by 3 to pick the sum
# if the sum is equivalent return Trueif the sum is not true swap the elements of the array to make the sum equivalent retunr false
# for idx_arr1 in range(len(arr1)):