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

Senior SDET

HashedIn
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 5 months
Topics: Data structures basics, Testing methodologies, Types of testing, Project management, Agile methodology, OOPS concepts.
Tip
Tip

Tip 1 : Data Structures basics must be strong
Tip 2 : Should be able to write basic program in the language mentioned in resume
Tip 3 : Read about software testing

Application process
Where: Campus
Eligibility: Aggregate should be above 60%
Resume Tip
Resume tip

Tip 1 : Be precise and add certification and projects
Tip 2 : You should be able to answer questions on whichever skills you mentioned in your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date25 Jun 2021
Coding problem1

Coding Environment was bit different. You needed to enter data manually to check of code is working. It contained 2 coding questions and rest were normal quant and programming related questions.

1. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
Thought WorksFacebookApple

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Problem approach

I applied mental flow chart in my mind then decided which function should i use

Try solving now
02
Round
Easy
Face to Face
Duration50 minutes
Interview date30 Jun 2021
Coding problem2

1. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
AmazonQualcommPhilips

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
Problem approach

Tip 1 : Keep your basics strong
Tip 2 : Keep code short
Tip 3 : Keep it simple

Try solving now

2. Reverse A LL

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

Ninjas is practicing problems on the linked list. He came across a problem in which he has given a linked list of ‘N’ nodes and two integers, ‘LOW’ and ‘HIGH’. He has to return the linked list ‘HEAD’ after reversing the nodes between ‘LOW’ and ‘HIGH’, including the nodes at positions ‘LOW’ and ‘HIGH’.

Problem approach

Tip 1 : Keep your basics strong
Tip 2 : Keep code short
Tip 3 : Keep it simple

Try solving now
03
Round
Hard
Face to Face
Duration90 minutes
Interview date2 Jul 2021
Coding problem1

1. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
SalesforceFreshworksWalmart

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Problem approach

Just followed the basic apprpach

Try solving now
04
Round
Easy
HR Round
Duration40 minutes
Interview date10 Jul 2022
Coding problem1

1. Basic HR Questions

  1. Tell me about yourself
  2. Why did you choose this company?
  3. What are your salary expectations?
Problem approach

Tip 1 : Don't let them know your career plans
Tip 2 : If you planning for further study don't reveal
Tip 3 : Be confident

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by HashedIn
1158 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by HashedIn
1267 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by HashedIn
1027 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by HashedIn
924 views
0 comments
0 upvotes