Programming Assignment: Given two numbers, M and N, write a program to determine if M & N are amicable pairs. An amicable pair (m,n) consists of two integers m,n for which the sum of proper divisors (the divisors excluding the number itself) of one number equals the other. Amicable pairs are occasionally called friendly pairs (Hoffman 1998, p. 45), although this nomenclature is to be discouraged since the numbers more commonly known as friendly pairs are defined by a different, albeit related, criterion. Not, a number cannot be amicable with itself.
Java Senior Interview Questions
6,015 java senior interview questions shared by candidates
Fibonacci Sequence Reverse Char Array Design Question
Spring Bean Scopes, REST, Code Snippets, JWT Token
How many ways can you get a needle out of a haystack?
Which map maintains order
Basic java questions , deference bwt various collections
What date and time are you available for the interview.
1) Data structure used in java like ArrayLIst,LinkedList,Set,Map 2) internal working of hashmap-> interviewer is not aware hashmap improvements, he is like why hashmap is converting in Tree, this is not possible. 3) Diff between ArrayList and LinkedList 4) Diff between Controller and RestController 6) If You are not aware of completablefuture that means you are week in threading. according to interviewer. 7) Interview Asked if sudden in your microservice load is increase how you handle it 8) scenario based Question from project.
you get line of numbers, you should tell for each number in how many lines it appears
Java - Algorithms coding
Viewing 741 - 750 interview questions