Tip 1 : Be regular, take out time everyday to prepare yourself
Tip 2 : Focus on basics as they are very important
Tip 1 : Don't mention about things which you are not comfortable with
Tip 2 : Have some good projects with their links
Virtual, Afternoon
Video Proctoring was there



1. The array follows 0-based indexing, so you need to return 0-based indices.
2. If 'x' is not present in the array, return {-1 -1}.
3. If 'x' is only present once in the array, the first and last position of its occurrence will be the same.
Input: arr = [1, 2, 4, 4, 5], x = 4
Output: 2 3
Explanation: The given array’s 0-based indexing is as follows:
1 2 4 4 5
↓ ↓ ↓ ↓ ↓
0 1 2 3 4
So, the first occurrence of 4 is at index 2, and the last occurrence of 4 is at index 3.
Virtual, Afternoon
Interviewer was very calm and composed



‘S’ = racecar
The reverse of ‘S’ is: racecar
Since ‘S’ is equal to its reverse. So ‘S’ is a palindrome.
Hence output will be 1.
i wrote a function where i reversed the number and matched it with the original number and returned the answer that was expected. Time complexity came out to be O(log(n))



153 = 1^3 + 5^3 + 3^3.
Therefore 153 is an Armstrong number.
Virtual, Morning
Interviewer was very calm and was smiling whole time
Introduction, why to join amdocs, any plan for further studies, some document verifications
Tip 1: Be honest while answering
Tip 2: Ask any questions you have at the end

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?