Hello everyone. I am going to share my Dailyhunt interview experience for the profile of Associative Software Engineer. This was an on campus interview.
The process began with elimination round consisting of 5 programing questions mentioned below:
Resulting Tree:
For all the 3 coding questions, I had to write algorithm pseudocode on the paper.
- You are given N integer numbers (I will define each of them as X here). For all of them, calculate the following: Sum of all numbers Y such that 1 <= Y < N and GCD(Y, X) has at least two prime factors.
- Given a string, find the length of the smallest substring consisting of maximum distinct characters.
- Given a matrix, find the largest rectangular sub-matrix whose sum is 0.
- Given an array of N integers, form the square matrix of size SQRT(N) x SQRT(N). Rotate this matrix k times. Eventually you will get k + 1 different matrices. You have to multiply all these matrices. Find the sum of the final resulting matrix.
- Given an array of N integers. Count the number of pairs whose sum exists in the array. E.g. int a[] = {1, 2, 3, 5}. Here there are two such pairs: (1 + 2) = 3, (2 + 3) = 5.
Resulting Tree:
For all the 3 coding questions, I had to write algorithm pseudocode on the paper.