i
Amdocs
Filter interviews by
Given an integer 'N', your task is to print all the prime numbers that lie within the range from 2 to 'N' (inclusive).
Integer N
Prime numbers printed...
Print all prime numbers within the range from 2 to N.
Iterate from 2 to N and check if each number is prime
A prime number is a number greater than 1 that has no positive divisors other than 1 and itself
Use a nested loop to check divisibility by numbers less than the current number
Singleton class in Java ensures that a class has only one instance and provides a global point of access to it.
Singleton class is implemented by making the constructor private to prevent instantiation from outside the class.
It provides a static method to access the single instance of the class.
The instance is created only once and reused throughout the application.
Example: Logger class in Java can be implemented a...
You are provided with an array/list ARR
of length N
containing only 0s and 1s. Your goal is to determine the number of non-empty subarrays where the number...
Count the number of subarrays where the number of 0s is equal to the number of 1s in a given array of 0s and 1s.
Iterate through the array and keep track of the count of 0s and 1s encountered so far.
Use a hashmap to store the count of 0s and 1s encountered at each index.
For each index, check if the count of 0s and 1s encountered so far are equal. If yes, increment the total count of subarrays.
Determine if a given string 'S' is a palindrome, considering only alphanumeric characters and ignoring spaces and symbols.
The string 'S' should be evaluated in a case-...
Check if a given string is a palindrome after removing special characters, spaces, and converting to lowercase.
Remove special characters and spaces from the input string
Convert the string to lowercase
Check if the modified string is a palindrome by comparing characters from start and end
What people are saying about Amdocs
Write a SQL query to join two tables on a common attribute and select matching records.
Use the JOIN keyword to combine tables A and B on the common attribute ID
Specify the common attribute in the ON clause of the JOIN
Select the desired columns (ID_NAME) from the joined tables
Identify if the provided integer 'N' is a Fibonacci number.
A number is termed as a Fibonacci number if it appears in the Fibonacci sequence, where each number is the sum of ...
The task is to determine if a given integer is a Fibonacci number or not.
Iterate through the Fibonacci sequence until the current number exceeds the given integer 'N'.
Check if the given integer 'N' matches any number in the Fibonacci sequence.
If a match is found, output 'YES'; otherwise, output 'NO'.
Garbage collector in Java is a built-in mechanism that automatically manages memory by reclaiming unused objects.
Garbage collector runs in the background to identify and remove objects that are no longer needed.
It helps prevent memory leaks and optimize memory usage.
Examples of garbage collectors in Java include Serial, Parallel, CMS, and G1.
Determine if an array contains a Pythagorean triplet by checking whether there are three integers x, y, and z such that x2 + y2 = z2 within the array.
The first line...
Detect if an array contains a Pythagorean triplet by checking if x^2 + y^2 = z^2.
Iterate through all possible combinations of three numbers in the array.
Check if the sum of squares of any two numbers is equal to the square of the third number.
Return 'yes' if a Pythagorean triplet is found, otherwise return 'no'.
Reverse a given stack of integers using recursion. You must accomplish this without utilizing extra space beyond the internal stack space used by recursion. Additionally, you m...
Reverse a given stack of integers using recursion without using extra space or loop constructs.
Use recursion to pop all elements from the original stack and store them in function call stack.
Once the stack is empty, push the elements back in reverse order using recursion.
Base case of recursion should be when the original stack is empty.
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. Denormalization is the opposite process, adding redundancy to improve read performance.
Normalization involves breaking down a table into smaller tables and defining relationships between them to reduce redundancy.
Denormalization involves combining tables to reduce the number of joins needed for queries, i...
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 L/yr - ₹15.5 L/yr |
Software Engineer
1.9k
salaries
| ₹6.8 L/yr - ₹16.1 L/yr |
Softwaretest Engineer
1.8k
salaries
| ₹5.7 L/yr - ₹13.8 L/yr |
Functional Test Engineer
1.2k
salaries
| ₹5.2 L/yr - ₹12.3 L/yr |
Associate Software Engineer
964
salaries
| ₹4.8 L/yr - ₹10 L/yr |
TCS
IBM
Oracle
Carelon Global Solutions