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

Senior Software Engineer

GreyOrange
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Python, data structures and algorithm, sql, testing, automation
Tip
Tip

Tip 1 : practice coding
Tip 2 : be thorough with your resume

Application process
Where: Naukri
Eligibility: No
Resume Tip
Resume tip

Tip 1 : have good projects
Tip 2 : fulfill the required tech stack

Interview rounds

01
Round
Hard
Coding Test - Pen and paper
Duration60 Minutes
Interview date2 Oct 2021
Coding problem1

1. All prime numbers

Moderate
0/80
Asked in companies
Livekeeping (An IndiaMART Company)BarclaysMicrosoft

Given an integer N, print all the prime numbers that lie in the range 2 to N (both inclusive).

Problem approach

Wrote a for loop with end limit as √n

Try solving now
02
Round
Hard
Coding Test - Pen and paper
Duration60 Minutes
Interview date3 Oct 2021
Coding problem1

1. Anagram Substring Search

Moderate
35m average time
70% success
0/80
Asked in companies
AdobeMedia.netZS

Given two strings ‘STR’ and ‘PTR’. Find all the starting indices of ‘PTR’ anagram substring in ‘STR’. Two strings are anagram if and only if one string can be converted into another string by rearranging the character.

For example, ‘ABCD’ and ‘ACBD’ are two anagram strings because ‘ACBD’ can be converted into ‘ABCD’ by rearranging the ‘B’ and ‘C’. ’ABA’ and ‘ABB’ are not anagram because we can’t convert ‘ABA’ to ‘ABB’ by rearranging the characters of particular strings.

‘ABACD’ and ‘CABAD’ are anagram because ‘ABACD’ can be converted into ‘CABAD’ by rearranging the first ‘A’ with ‘C’ and second ‘A’ with ‘B’.

Note:
Strings ‘STR’ and ‘PTR’ consist only of English uppercases.

Length of string ‘STR’ will always be greater than or equal to the length of string ‘PTR’.

The index is ‘0’ based.

In case, there is no anagram substring then return an empty sequence.

Explanation:

For example, the given ‘STR’ is ‘BACDGABCD’ and ‘PTR’ is ‘ABCD’. Indices are given

0-3 in ‘STR’ index 0,1,2,3 are ‘BACD’ and it is an anagram with ‘ABCD’
1-4 in ‘STR’ index 1,2,3,4 are ‘ACDG’ and it is not anagram with ‘ABCD’
2-5 in ‘STR’ index 2,3,4,5 are ‘CDGA’ and it is not anagram with ‘ABCD’
3-6 in ‘STR’ index 3,4,5,6 are ‘DGAB’ and it is not anagram with ‘ABCD’
4-7 in ‘STR’ index 4,5,6,7 are ‘GABC’ and it is not anagram with ‘ABCD’
5-8 in ‘STR’ index 5,6,7,8 are ‘ABCD’ and it is an anagram with ‘ABCD’

Hence there are 2 starting indices of substrings in the string ‘STR’ that are anagram with given ‘PTR’  which are index 0 and 5.
Problem approach

Wrote a simple code to find n strings

Try solving now
03
Round
Hard
Video Call
Duration60 Minutes
Interview date5 Oct 2021
Coding problem1

1. Operating System Based Question

Linux questions. Testing questions

Problem approach

Tip 1 : learn scripting
Tip 2 : be thorough with resume

Here's your problem of the day

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

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
SDE - 1
4 rounds | 3 problems
Interviewed by GreyOrange
2875 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8676 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3380 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2622 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3774 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
5050 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3059 views
3 comments
0 upvotes