Given a = 4, b = 6. Swap the value of those two variables without using extra variable(s).
Software Engineer 2 Interview Questions
666,190 software engineer 2 interview questions shared by candidates
Interview Question – two algorithm questions each phone interview. Two of them were a bit challenging . One of them was : given a value k and an array , design an efficient algorithm that should output the number of pairs that sum up to k. They wanted a n log n solution, wich i provided, but I wasn't handy with the implementation. We spent several minutes with questions like why would you want to work for us? or how did you heard and what you know about us ?
What is the computational speed of looking something up in a hash table?
Given a binary matrix (0's and 1's), how many groups of connected 1's are there?
How immediately you can join
What is the best way to store an array?
Difference between Heap and Stack
Convert a string of alphabets to a string which contains the type of the alphabet and it's frequency if the length of the converted string is greater than previous one(ex: 'aa' -> 'aa', 'bbb' -> b3). Ex: 'aabbcccdd' -> 'aabbc3dd'.
how to find square root of integer
Goldman Sachs conducted a Hackerrank test which had coding question (3) and mcqs for the initial interview selection. The questions were of high difficulty level.
Viewing 2171 - 2180 interview questions