Wheelseye Technology interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Wheelseye Technology
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I had some coding knowledge when I joined college. Then, I worked on it in my 2nd year, but after two years, I worked a lot on my coding skills. I got many offers and chose the best out of them.
Application story
Wheelseye visited our campus for hiring. I applied for it, got the test link, and then I was moved to the interviews.
Why selected/rejected for the role?
Rejected, as I could not optimize one solution for a DSA question asked. Other than that, the interviews went well.
Preparation
Duration: 4 months
Topics: Data Structures, Algorithms, Aptitude, OOPS
Tip
Tip

Tip 1: Must do Previously asked Interviews and Online Test Questions.
Tip 2: Must have good knowledge of DSA
Tip 3: Do at least two good projects; you must know everything.

Application process
Where: Campus
Eligibility: CGPA 6.0 and above, with no active backlog(s).
Resume Tip
Resume tip

Tip 1: Have at least two good projects explained in short with all essential points covered.
Tip 2: Please mention every skill.
Tip 3: Focus on skills, projects, and experiences more.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date8 Dec 2021
Coding problem2

This round was to test your DSA skills and be well prepared with previously asked questions as they are repeated.

1. Unique Paths

Moderate
25m average time
80% success
0/80
Asked in companies
BNY MellonCoinDCXAmazon

Given a grid of size m * n, let us assume you are starting at (1, 1) and your goal is to reach (m, n). At any instance, if you are on (x, y), you can either go to (x, y + 1) or (x + 1, y).
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and space are marked as 1 and 0 respectively in the grid.

Problem approach

Start traversing through the given ‘A’ 2D matrix row-wise and fill in the values.
For the first row and the first column, set the value to 1 if an obstacle is not found.
If an obstacle is found for the first row and first column, then start filling 0 till the last index in that particular row or column.
Now start traversing from the second row and column (e.g., A[ 1 ][ 1 ]).
If an obstacle is found, set 0 at a particular Grid (e.g., A[ i ][ j ] ); otherwise, set sum of upper and left values at A[ i ][ j ].
Return the last value of the 2D matrix.

Try solving now

2. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Amazon

Given an array, print the Next Greater Element (NGE) for every element. 
Example:

Input: arr[] = [ 4, 5, 2, 25 ]
Output:  4      –>   5
               5      –>   25
               2      –>   25
              25     –>   -1
Explanation: except 25 every element has an element greater than them present on the right side

Problem approach

This is the same as the above method, but the elements are pushed and popped only once into the stack. The array is changed in place. The array elements are pushed into the stack until it finds the most significant element on the right of the array. In other words, the elements are popped from the stack when the top of the stack value is smaller in the current array element.
The stack is not empty once all the elements are processed in the array. The left-out elements in the stack don’t encounter any most significant element. So, pop the element from the stack and change its index value to -1 in the array.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date9 Dec 2021
Coding problem2

The interview started by asking about my past projects and the tech stack I have worked on. Whatever was written in the resume was asked.

1. Longest Valid Substring

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonHCL TechnologiesMorgan Stanley

Given a string consisting of opening and closing parenthesis, find the length of the longest valid parenthesis substring.

Problem approach

1) Create an array longest of length n (size of the input
string) initialized to zero.
The array will store the length of the longest valid 
substring ending at that index.
2) Initialize the result as 0.
3) Iterate through the string from the second character
a) If the character is '(' set longest[i]=0 as no 
valid sub-string will end with '('.
b) Else
i) if s[i-1] = '('
set longest[i] = longest[i-2] + 2
ii) else
set longest[i] = longest[i-1] + 2 + 
longest[i-longest[i-1]-2]
4) In each iteration, update the result as the maximum of 
result and longest[i]
5) Return result.

Try solving now

2. The Celebrity Problem

Moderate
30m average time
60% success
0/80
Asked in companies
OlaVisaApple

In a party of N people, only one person is known to everyone. Such a person may be present at the party, if yes, (s)he doesn’t know anyone at the party. We can only ask questions like “does A know B? “. Find the stranger (celebrity) in the minimum number of questions.
We can describe the problem input as an array of numbers/characters representing persons in the party. We also have a hypothetical function HaveAcquaintance(A, B) which returns true if A knows B, and false otherwise. How can we solve the problem? 

Problem approach

Create a stack and push all the IDs in the stack.
Run a loop while there are more than one element in the stack.
Pop the top two elements from the stack (represent them as A and B).
If A knows B, A can’t be a celebrity and push B into the stack. Otherwise, B can’t be a celebrity push A in the stack if A doesn't know B.
Could you assign the remaining element in the stack as the celebrity?
Run a loop from 0 to n-1 and find the count of persons who know the celebrity and the number of people whom the celebrity knows.
If the count of persons who know the celebrity is n-1 and the count of people whom the celebrity knows is 0, then return the ID of the celebrity else, return -1.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4656 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15480 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15338 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10141 views
2 comments
0 upvotes