database design
Sr Software Developer Interview Questions
7,038 sr software developer interview questions shared by candidates
About memory structure. Java 8 features. Mysql queries.
Nothing, the guy talked about life is short and how he wanted to make it as a company. Joke.
Array Challenge Have the function ArrayChallenge(num) take the num parameter being passed and perform the following steps. First take all the single digits of the input number (which will always be a positive integer greater than 1) and add each of them into a list. Then take the input number and multiply it by any one of its own integers, then take this new number and append each of the digits onto the original list. Continue this process until an adjacent pair of the same number appears in the list. Your program should return the least number of multiplications it took to find an adjacent pair of duplicate numbers. For example: if num is 134 then first append each of the integers into a list: [1, 3, 4]. Now if we take 134 and multiply it by 3 (which is one of its own integers), we get 402. Now if we append each of these new integers to the list, we get: [1, 3, 4, 4, 0, 2]. We found an adjacent pair of duplicate numbers, namely 4 and 4. So for this input your program should return 1 because it only took 1 multiplication to find this pair. Another example: if num is 46 then we append these integers onto a list: [4, 6]. If we multiply 46 by 6, we get 276, and appending these integers onto the list we now have: [4, 6, 2, 7, 6]. Then if we take this new number, 276, and multiply it by 2 we get 552. Appending these integers onto the list we get: [4, 6, 2, 7, 6, 5, 5, 2]. Your program should therefore return 2 because it took 2 multiplications to find a pair of adjacent duplicate numbers (5 and 5 in this case).
How indexes in db's are implemented
when serverless architecture can be better
SQL, C# and Javascript. which will never be useful in realtime
Question : Duplicate Username input : ["adam", "eve", "john", "adam", "eve", "adam"] Output : ["adam", "eve", "john", "adam1", "eve1", "adam2"]
Why do you want to live in Canada?
Describe a time when you fixed one problem, but caused another.
Viewing 5321 - 5330 interview questions