/* Write a query to find all duplicate jobs in the People table */ select count(*) from People p1 join People p2 on p1.Job = p2.job and p1.FirstName <> p2.FirstName; /* Write a query to find all duplicate FirstName, and Job values in the People table and number of duplicates */ with cte as( select row_number() over(order by FirstName, job) as num, FirstName, job from People ) select count(*) from cte p1 join cte p2 on p1.Job = p2.job and p1.FirstName = p2.FirstName and p1.num <> p2.num; /* Write a query to find all duplicate First Names with different jobs in the People table */ select p1.FirstName from People p1 join People p2 on p1.Job < p2.job and p1.FirstName = p2.FirstName;
Sr Developer Interview Questions
94,605 sr developer interview questions shared by candidates
Since you've quit your previous job, do you consider yourself jobless?
Summing up the individual digits for each number from 0 to k (0<=k<=10000000), return how many times the most common sum occurs. Examples: k=10 gives 2 (since 1 and 10 both sum up to 1) k=50 gives 6 (since 5, 14, 23, 32, 41, 50 all sum up to 5) k=7777 gives 555
console.log("1"==1<5>false)
Round a floating point number to the nearest integer. Do not use any helper functions.
Are you available next week for an interview ?
Data Structure, Algorithms, Java, Threading, Spring, Puzzle.
Talk through a real-life situation where there was a disagreement in the approach to solve a problem and how the situation was resolved.
Culture screening: They asked a series of questions about the worst experiences in my career, feedback given or received and what was learned.
Describe Java Programming Design Patterns. This is where the interviewer wrote down a few on a whiteboard (that he struggled to remember) and I had to describe them.
Viewing 491 - 500 interview questions