The process being with online test on hacker rank followed by two technical interviews and one managerial round.
Round 1: Written test on Hanker Rank
Q1: Given a string s="aabcbabcc" and another string t="abc". Write a code to remove second string from first string
So in first iterate remove first occurrence of abc s=ababcc
in second iterate s=abc
in third iterate s=""
Return number iterate it takes until string s does not contain "abc" or s becomes null
Q2: Give an array of integer a=[1,2,2,3,4,4,5,5,5]
Find the digits which have occurred two or more times in the array
In above e.g: 2,4,5 have occurred two or more times. Hence return 3.
Q3: Say 1 3 4 6 9 count to 0 holes
2,5,7 count to 1 hole
0,8 count to 2 hole then
Given number 658 should count to 0 + 1 + 2 = 3 holes
Round 2: Face to Face interview at EzeSoftwareGroup Hyderabad (WaveRock)
Technical Round 1
Time: 1 hr
Q1: Given a Singly Linked List, detect and remove the loop.
Q2: Write a function to generate a Fibonacci series.
Q3: How do you improve the request handling by server
WebFarms and WebGardens
What is drawback of using WebFarms?
What exactly is WebGardens
Q4: Explain complete request cycle. --> HTTP Modules, HTTP Handlers, ASPX page life cycle
What is exact use of HTTPModules and HTTPHandlers
Q5: What are indexes?
What is clustered Indexes? How many clustered index a table can have? (Only one)--> Are you sure? (Yes)
Q6: Difference between List and Dictionary. Which one you would prefer for performance?
Do you have any idea about Hashing, Hash function, addressIndex
Q7: When to SqlDataReader and SqlDataAdapter. Differences
Why SqlDataReader are faster and used to handle huge data?
Round 3:
Technical round 2
Time: 1.5hrs
Q1: Given two tables, query all employees which does not exist in Sales Table
Q2: Design Pattern: Singleton
Write a code for Singleton
Locking in C#
Q3: Abstraction,Encapsulation, Inheritance, Polymorphism.
Q4: Abstract class and Interface.
Can we have constructor for abstract class? --> Yes
If we cannot create instance of Abstract class, what is the use of it constructor.
Q5: Explain about your team.
Q6: Project related question
Q7: Puzzles
Clock Puzzle: Find angle between hour hand and minute hand at any give time. Start with 5:20
Q8: Frog Puzzle
We have a well 30mtrs in height, frog jumps 3mtrs and fall back 2mtrs. Number of jumps to come out.
Answer is not 30. Hint: Last jump from 27 step, he comes out
Q9: We have two numbers 5 and 8. Design a function such that it returns other number, if you feed 5, it should
return 8 and vice versa without using any conditional statement.
func(i)
{
return 40/i;
}
Q10: What do you think about Agile Scrum.