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.
Senior Java Engineer Interview Questions
636 senior java engineer interview questions shared by candidates
Spring Bean Scopes, REST, Code Snippets, JWT Token
Java - Algorithms coding
Open-ended question about a parking lot. It was purposefully vague to see which direction the interviewee took the problem.
OOPs concepts, Threads, Collections, Exceptions
they asked what is instance counting and how to do it?
None in my case.
Segregating a list of Strings on the basis of anagrams. (Leetcode)
Mostly core Java and SQL. Collections Hierarchy Collections.synchronizedCollection(Collection ) HashMap versus Hashtable Equals and hashCode ArrayList versus vector ArrayList verus LinkedList Treemap versus treeset Iterators Concurrent Hashmap Executor Pool Thread framework. Hashmap internals. Why doesn't hashtable allowe null key? BlockingQueue Reentrant lock Read write lock Deadlock program. How to avoid deadlock Wait, notify program Wait versus sleep,Wait versus yield InteruptedException Illegal monitor exception Exceptions thrown by threads. Why are strings immutable Abstract class versus interace OOPS Overriding versus overloading Exception hierarchy User defined exception Class.forname Reflection Garbage collection. When is it called. PermGen EdenSpace Static Final Comparator, comparable. Array.sort Colelctions.sort Joins SQL functions, like date, char String builder versus String buffer Singleton Factory Abstract factory Observer Composite JSP architecture
1. How you can do differently using Technical Stack expertise I have? (but no indication of what he's expcting me from) 2. Linear algebra equation ax2+bx+c=0 with input: a,b,c as double and output as x1x2,message
Viewing 91 - 100 interview questions