i
Amdocs
Filter interviews by
Given a string STR
consisting of lowercase English letters, identify the first non-repeating character in the string and return it. If no such character...
Identify the first non-repeating character in a given string and return it, or '#' if none exists.
Iterate through the string to count the frequency of each character
Iterate through the string again to find the first character with frequency 1
Return the first non-repeating character or '#' if none exists
Essential UNIX commands include ls, cd, pwd, mkdir, and rm.
ls - list directory contents
cd - change directory
pwd - print working directory
mkdir - make directory
rm - remove files or directories
You have a string 'STR' of length 'N'. Your task is to implement the atoi function, which converts the string into an integer. If the string does not contain any numbers, the functi...
Implement a function to convert a string to an integer, ignoring non-numeric characters and considering negative numbers.
Iterate through the characters of the string and check if they are numeric.
Handle negative numbers by checking the first character of the string.
Ignore non-numeric characters while converting the string to an integer.
Return 0 if there are no numbers in the string.
Ensure the resulting number is w...
A friend function in C++ is a function that is not a member of a class but has access to the private and protected members of the class.
Friend functions are declared inside a class with the keyword 'friend'.
They can access private and protected members of the class they are friends with.
Friend functions are not member functions of the class.
Example: friend void displayDetails(Student);
What people are saying about Amdocs
Run time polymorphism in C++ allows objects of different classes to be treated as objects of a common parent class.
Run time polymorphism is achieved through virtual functions and function overriding.
It allows a function to behave differently based on the object it is called on.
Example: Using a base class pointer to call a virtual function that is overridden in a derived class.
You are given an array NUMS
consisting of N integers and an integer K. Your task is to determine the maximum sum of an increasing subsequenc...
Find the maximum sum of an increasing subsequence of length K in an array.
Iterate through the array and maintain a dynamic programming table to store the maximum sum of increasing subsequences of different lengths.
For each element, check all previous elements to find the increasing subsequences and update the maximum sum accordingly.
Return the maximum sum of the increasing subsequence of length K.
Example: For inpu...
Calculate the Nth term in the Fibonacci sequence using the formula: F(n) = F(n-1) + F(n-2)
where F(1) = F(2) = 1
.
Given a number N, determine the Nth Fibonacci number.
Calculate the Nth Fibonacci number using the given formula and constraints.
Implement a function to calculate the Nth Fibonacci number using the formula F(n) = F(n-1) + F(n-2) with base cases F(1) = F(2) = 1.
Use dynamic programming or recursion to efficiently compute the Fibonacci number for large N values.
Ensure the input N is within the constraints 1 <= N <= 10000.
Example: For N = 5, the output should be 5 ...
Ninja is tasked with implementing a priority queue using the Heap data structure. Since Ninja is busy with tournament preparations, your help is requested to complete this tas...
Implement a priority queue using Heap data structure with functions like push, pop, getMaxElement, and isEmpty.
Implement push() function to insert element into the priority queue.
Implement pop() function to delete the largest element from the queue.
Implement getMaxElement() function to return the largest element.
Implement isEmpty() function to check if the queue is empty.
I applied via Campus Placement
I applied via Campus Placement and was interviewed in Dec 2024. There were 3 interview rounds.
Easy coding question in c
Multiple sections on aptitude, coding
I applied via Campus Placement
60 mins test , consisting mcqs and 1 coding question
Detect cycle in LinkedList by using Floyd's Tortoise and Hare algorithm.
Use two pointers, slow and fast, to traverse the LinkedList.
If there is a cycle, the fast pointer will eventually meet the slow pointer.
Initialize slow and fast pointers at the head of the LinkedList.
Move slow pointer by one step and fast pointer by two steps.
If fast pointer reaches the end of the LinkedList, there is no cycle.
I applied via Campus Placement and was interviewed in Jul 2024. There were 2 interview rounds.
Asked basic questions
Quantitative Aptitude, Logical Reasoning, 60 mins test
I applied via Campus Placement and was interviewed in Sep 2023. There was 1 interview round.
Contains apptitude and coding.
I applied via Campus Placement and was interviewed in Aug 2023. There was 1 interview round.
Count the number of occurrences of a specific substring in an array of strings.
Iterate through each string in the array and use a function to count occurrences of the substring.
Use a loop to go through each character in the string and check for matches with the substring.
Keep a count variable to track the number of occurrences found.
Some of the top questions asked at the Amdocs Associate Software Engineer interview -
The duration of Amdocs Associate Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 37 interview experiences
Difficulty level
Duration
based on 122 reviews
Rating in categories
Software Developer
8.5k
salaries
| ₹9.1 L/yr - ₹15.5 L/yr |
Software Engineer
2k
salaries
| ₹6.8 L/yr - ₹16.3 L/yr |
Softwaretest Engineer
1.8k
salaries
| ₹5.8 L/yr - ₹13.8 L/yr |
Functional Test Engineer
1.2k
salaries
| ₹5 L/yr - ₹11.5 L/yr |
Associate Software Engineer
965
salaries
| ₹4.8 L/yr - ₹10 L/yr |
TCS
IBM
Oracle
Carelon Global Solutions