Wadhwani AI interview experience Real time questions & tips from candidates to crack your interview

Associate Product Engineer

Wadhwani AI
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Journey
My journey started when I was in class 12th, and my teacher was very impressed by my performance in Computer science and told me to participate in various coding competitions.
Application story
I received that opportunity from LinkedIn Jobs. Technical Interviews asked Python, Project-related Questions, and DBMS Questions. I have not rejected them in rounds, but companies have frozen hiring because of recent layoffs. So they do not forward my candidature.
Why selected/rejected for the role?
I gave my best in the Interview but Unfortunately not clear that round due to recent layoffs and the Hiring freeze. But rejection is a part of life. it gives the motivation to make Sucess.
Preparation
Duration: 3 Months
Topics: Data Structures & Algorithms, Operating System, Object-Oriented Programming System, DBMS, CN
Tip
Tip

Tip 1: Prepare DSA well, and I recommend Coding Ninjas for interview preparation.
Tip 2: Be confident & relaxed during the interview.
Tip 3: Revise your projects, i.e., how they work and their functionalities.

Application process
Where: Linkedin
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1: Make your resume short; try to make it one page only, and mention all the skills you are confident in.
Tip 2: Do not put false things on your resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date14 Dec 2022
Coding problem2

1. Next Greater Element

Moderate
20m average time
90% success
0/80
Asked in companies
CIS - Cyber InfrastructureAmazonPhonePe

You are given an array arr of length N. You have to return a list of integers containing the NGE(next greater element) of each element of the given array. The NGE for an element X is the first greater element on the right side of X in the array. Elements for which no greater element exists, consider the NGE as -1.

For Example :

If the given array is [1, 3, 2], then you need to return [3, -1, -1]. Because for 1, 3 is the next greater element, for 3 it does not have any greater number to its right, and similarly for 2.
Try solving now

2. Justify Text

Hard
35m average time
50% success
0/120
Asked in companies
AdobeWalmartUber

Given a sentence(in the form of an array of words), and an integer ‘L’, return an array of strings i.e a paragraph such that each line has exactly ‘L’ characters, and is left and right justified.

Justification of text means that space is added between words so that both edges of each line are aligned with both margins. The last line in the paragraph is aligned left.

One needs to add the maximum number of words in a line such that the number of lines is minimised.

We can add whitespaces in a line so that each line has exactly the same number of characters i.e L.

If the number of spaces on a line does not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right.

For the last line of text, it should be left justified and no extra space is inserted between words.

For example:
Let the given sentence be: [ “what”, “must”, “be”, “shall”, “be.”]
And L=12.

The justified output will be :

[ “what must be”
“Shall be.”       ]

Note that the last line is only left justified.
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
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
961 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
3452 views
0 comments
0 upvotes