What is the time when you have some problems and how do you solve it?
Developer Intern Interview Questions
5,259 developer intern interview questions shared by candidates
Given an array of n positive integers, assuming 0-based indexing, its cost is the sum from i=1 to i=(len(arr) - 1) of (arr[i] - arr[i-1])^2. We want to find the minimum possible cost of the array after inserting exactly one element. For example, the cost of the array a = [1, 3, 5, 2, 10] before insertion is (1 - 3)^2 + (3 - 5)^2 + (5 - 2)^2 + (2 - 10)^2 = 81. After inserting 6 between 2 and 10, the cost of the array a is (1 - 3)^2 + (3 - 5)^2 + (5 - 2)^2 + (2 - 6)^2 + (6 - 10)^2 = 49. It can be proven that 49 is the minimum possible cost for the array a. Complete the function public static long getMinimumCost(List arr) to solve this problem.
- What is the difference between unit test and integration test? - Which technologies you applied in your past projects?
What do you know about DevOps? What are the values? Explain why DevOps is important.
Não foi uma pergunta, foi uma dinamica em grupo, onde avaliam como você se comporta em grupo
What's the difference between your 2 strongest programming languages? (mine was js and python)
The first question was Regex. I had to implement a Regex function, I used Python. The second question was an SQL query given a table.
What you are most proud of on resume
Coding assessment questions were there in the first round
what's wrong this code (on dynamic programming)
Viewing 4011 - 4020 interview questions