Berlin, Germany interview questions |

Interview questions in Berlin, Germany

Zalando Interviews in Berlin /  HQ: Berlin

317 Interviews in Berlin (of 559)

2.8 Average

GetYourGuide Interviews in Berlin /  HQ: Berlin

164 Interviews in Berlin (of 263)

3.1 Average

N26 Interviews in Berlin /  HQ: Berlin

124 Interviews in Berlin (of 251)

2.8 Average

Interview Questions in Berlin

Sort: RelevancePopular Date

Write a method which return how many palindromes are in a word. Eg: barbarabar has 7 (b,a,r,barab,a,r)

6 Answers

import java.util.HashSet; import java.util.Set; public class One { public static void main(String[] args) { System.out.println(palindromeTest("barbarabar")); } public static int palindromeTest(String string) { Set palindromes = new HashSet(); boolean canBePalindrome; for (int i = 0; i = 0 && i + offset < string.length() && canBePalindrome) { if (string.charAt(i - offset) == string.charAt(i + offset)) { palindromes.add(string.substring(i - offset, i + offset + 1)); offset++; } else { canBePalindrome = false; } } } return palindromes.size(); } } How much time was given for this task?

int solution(String X) { int palCount = 0; int singlePal = X.length(); for (int i = 0; i < X.length(); i++) { String sub = "" + X.charAt(i); boolean isPal = true; for (int j = i + 1; j < X.length(); j++) { sub += X.charAt(j); if (X.charAt(i) == X.charAt(j)) { // check if a palindrome for (int k = 0, l = sub.length() - 1; k < sub.length() / 2; k++, l--) { if (sub.charAt(k) != sub.charAt(l)) { isPal = false; break; } } if (isPal) { palCount++; singlePal -= sub.length(); i = j; } break; } } } return palCount + singlePal; }

Did anyone get asked to do this in JavaScript?

Make recipe APIs for HelloFresh

4 Answers

(talk about yourself, start date, do you have any questions)

4 Answers

Do you know SQL?

4 Answers

How to convert an Optional string to integer without throwing exception

4 Answers

round 1: Why coming to Berlin from India? Why Zalando? What do you know about Zalando? Salary expectations? Do you have any questions? round 2: Tell me about about a situation when there has been a conflict between you and your colleague, how you resolved it. Tell me about about a situation when there has been a conflict between two of your colleagues, they approached how you resolved it. How do you convince people to choose a technology? Tell me about about a situation when you went against odds / didn't listen to your manager. How you convince people to help you with technical issues. Tell me about about a situation which proves you are motivated to take up challenges and learn new technologies. How you choose a a particular technology/solution from among multiple technologies/solutions.

4 Answers

“One employee comes to you and tells you: if we reduce the price of our rooms by 20%, we can increase the number of customers by 30%. Question: would the idea of your employee be worth it?”

4 Answers

If you take 3 subsequent number (n, n+1, n+2) and know, that n and n+2 are prime numbers, can you proove, that n+1 is always dividable by 6?

3 Answers

Convert all the words with 3 alphabets to upper case in a sentence.(JS)

3 Answers

How are you?

3 Answers
110 of 7,439 Interview Questions