Kellton Tech Interview Questions

Company: Kellton Tech interview Questions It was for Senior Developer profile. There were 1 Written + 3 Tech Rounds of interview. Q1. Find 2 number in the array whose difference is minimum. Array is unsorted. Complexity should be less than o(nlogn). eg 2 4 6 1 2 5 – Output should be 2,2 Q2. Find Read More →

Why can’t we use a static class instead of singleton?

Intention of a singleton pattern is to ensure that a single instance of a class is instantiated. So why not static class? Reasons are below :- – One of the key advantage of singleton over static class is that it can implement interfaces and extend classes while the static class cannot (it can extend classes, Read More →

Example of Singleton design pattern

In our previous post, we discussed about singleton design pattern. Now, we will see where is its applicability. According to the definition the singleton pattern should be used when there must be exactly one instance of a class, and when it must be accessible to clients from a global access point. Here are some real Read More →

Singleton Pattern – Java

Singleton Pattern

Singleton pattern is a design pattern that restricts the instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The singleton pattern is one of the simplest design patterns. It involves only one class which is responsible to instantiate itself, to make sure Read More →

Amazon Interview Questions – Set 5

I got interviewed for Amazon Hyderabad for SDE1 position . It was for e-commerce platform team. I want to share my experience so that it can help others. I have 7 months of experience but the vacancy was for 1+ year exp. Guys all the logistics were arranged by Amazon (Including flight tickets+Hotelstay+cab+lunch and dinner). Read More →

King Octopus and Servants

Puzzle: King Octopus has servants with six, seven, or eight legs. The servants with seven legs always lie, but the servants with either six or eight legs always say the truth. One day, 4 servants met : The blue one says: “Altogether we have 28 legs”; the green one says: “Altogether we have 27 legs”; Read More →

Talentica Interview Questions – Set 1

Company: Talentica Interview Details – First round telephonic technical interview followed by F2F interview technical. Telephonic Round: There I was asked basics of web development (e.g Session, hidden variable difference between POST and GET etc. ) and basics of PHP e.g global variables etc , little bit of mysql e.g joins , difference between left Read More →

Groupon Interview Questions – Set 1

Company: Groupon Technical Interview Questions – Q1. Find Kth Min Values in an array? Q2. Write in-order traversal without using recursion? Q3. Reverse words in a string. Ex: Input : “This is a String” Output: “String a is This” Q4. Removing duplicates from unsorted list of integer? if you have unsorted list of 0,5,9,5,6,7,6,9 the Read More →

Amazon Interview Question (Internship) – Set 4

Here is my interview experience with Amazon for internship. Hope it helps. Round 1 (Written test): Q1. Given a string. Write a program to form a string with first character of all words. Q2. Given a number n, find the number just greater than n using same digits as that of n. Round 2: Q1. Read More →

Largest subarray with equal number of 0s and 1s

Problem: Given an binary array containing only 0s and 1s, find the largest subarray which contain equal no of 0s and 1s. Examples: Input: arr[] = {1, 0, 1, 1, 1, 0, 0,0,1} Output: 1 to 8 (Starting and Ending indexes of output sub array) Implementation: In this method,use two nested loops. The outer loop Read More →

Guavus Interview Questions

Company: Guavus Network Systems Profile: Software Developer Interview Details: 1st round: Purely technical about the Core areas, skill sets, whats new I was learning etc. 2nd round : Technical cum analytical skills. 3rd round: Generic overall evaluation, team handling, interest in new stuff, how to handle situation etc. Technical Questions: Telephonic Interview: Q1. Given a Read More →

Juniper Networks Interview Questions – Set 1

Company: Juniper Networks Profile: Software Engineer/ Developer Technical Interview: Q1. How to manage memory in linux kernel? Q2. What should a bridge cum router device do upon receiving a frame? Q3. What’s the benefit of sub-netting? Q4. What are the differences between static ip addressing and dynamic ip addressing? Q5. Explain Memory Fragmentation? Q6. What Read More →