Sunday, October 13, 2019

Policy Bazaar Interview Experience | Oct 2019

I visited policy bazaar on 12/10/2019, for opportunity in Java Development. My experience is 5 years and i am sharing my complete interview experience below.

The interview process consisted of :

1. Telephonic Interview :

Tell me about your work.
Why String is special in JAVA?
What are immutable classes and how to make a class immutable.
Why other classes are not Immutable?
Does static break encapsulation in Java?
Where are the variables of interface getting stored.
what is the difference between : String s="sid" and String s=new ("Sid");
What and where is string constant pool? where are int stored in memory.
How is + overrided for string in java? ex : StringBuffer s="hi".append(s1).append(s2); and
String x=s+s1+s2? how many objects are being created in both cases.
Level Order traversal?
Improvements in hashmap in java 8?
treeify time complexity.
What is better HashSet or HashMap for getting distinct list of items? Consider Hashset internally implements HashMap.
How does Spring work internally?
Memory management in Java 8.
Give an example of Memory Leak and Out Of memory error.

2. Written round at their Gurgaon Office

https://www.geeksforgeeks.org/find-if-there-is-a-subarray-with-0-sum/

https://www.geeksforgeeks.org/check-whether-two-strings-are-anagram-of-each-other/

3. Technical Round No 1 at their Gurgaon Office

https://www.geeksforgeeks.org/perfect-sum-problem-print-subsets-given-sum/

Whats is OOPS.
Is Java a functional lang or structural lang.
What is functional programming.
What is lambda.
What is encapsulation & abstraction.
Why we do overriding and overloading? Give examples of your project.
More Core java Questions.
When is Arraylist useful and when is Linkedlist useful.
SOLID Principles.
Open/Closed Principle
static syncronized & synchronized difference.

3. Technical Round No 2 at their Gurgaon Office

Level Order Traversal.
Spiral Level Order Traversal.
LRU Cache implementation.
Producer Consumer Problem.
Multithreading  questions.
wait() / sleep() difference.
how do you implement caching in your project.
Executor Framework.
How to make a thread.
Design Pattern You have worked upon.
why String is so special in java.
Where is String constant pool in memory?
Difference b/w encapsulation and abstraction and polymorphism.
Can we upload war/ejb in AWS lambda? if not why?
How does UI code can be uploaded in AWS Lambda.

4. HR discussion

No comments:

Post a Comment