Code Pumpkin

High Radius Technologies Interview Questions – Set 1

July 21, 2018
Posted by Pumpkin

Hi Guys! I am Aditya Agrawal. I recently got selected as a Trainee at High Radius Technologies, Hyderabad. So, I would like to share my experience of appearing for the Online Test and subsequently the interview. I hope it might be useful for each and everyone in CodePumpkin community. First Round : Online Test Duration […]

Wissen Infotech Interview Questions – Set 2

July 19, 2018
Posted by Rahul Chudasama

I have appeared for Senior Java Developer Position at Wissen Infotech and It was my 3rd round. Interviewer mainly focused on Multithreading. He started with basic multithreading questions and moved to internals of Concurrent Utils. Here I am listing down some of the interesting questions he asked. What is the difference between notify() and notifyAll()? (Answer) How can […]

Tree Data Structure Terminologies – Set 2

July 2, 2018
Posted by Abhi Andhariya

In our previous article on Tree Terminologies, we have seen basic tree terminologies like Nodes, Edges, Root, Parent, Children, Leaves and Siblings. In this article, we will understand Degree of Tree, Path, Level, Depth, Height and sub tree.  Degree Total number of children of a node is called Degree of that node. The Degree of […]

Tree Data Structure Terminologies – Set 1

July 1, 2018
Posted by Abhi Andhariya

In this article, we will discuss one of the important non-linear data structure in computer science, Tree. Many real-life problems can be represented and solved using Tree data structure.  In this article, we will understand basic tree terminologies like Nodes, Edges, Root, Parent, Children, Leaves and Siblings. In next article on tree terminologies, we will see  terms […]

ServiceNow Interview Questions Set 1

May 13, 2018
Posted by Pumpkin

First Round (Programming round at HackerEarth) I have participated in ServiceNow Developer Hiring Challenge conducted on HackerEarth. There were two programming questions in this challenge and I was able to solve both of them. Both of these problems are now present in Hacker Earth practice section.  Second Round (Technical Telephonic Round) After few days, I got […]

Immutable class with mutable member fields in Java

April 30, 2018
Posted by Abhi Andhariya

Immutable class is a class which once created, it's content can not be changed. Immutable classes are good choice for HashMap key as their state cannot be changed once they are created. Objects of immuable classes are also thread safe as threads can not change the value of its fields once it is created. Creating a basic immutable class is very […]

Breaking Singleton using reflection and Enum Singleton

This is our fifth article in the series of Singleton Design Pattern. The purpose of the singleton class is to control object creation, limiting the number of objects to only one. In our previous articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. We have also discussed how we can […]

Preventing Cloning in Singleton Design Pattern

This is our third article on Singleton Design Pattern. The purpose of the singleton class is to control object creation, limiting the number of objects to only one. In our previous two articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. In this article, we will discuss how we can […]

Serialization and Singleton Design Pattern

This is our forth article in the series of Singleton Design Pattern Articles. The purpose of the singleton class is to control object creation, limiting the number of objects to only one.  In our previous three articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. We have also discussed how […]

Singleton Design Pattern Using Double Checked Locking

This is our second article in the series of Singleton Design Pattern.  In this article, we will see different thread safe approaches for lazy Initialization Singleton Design Pattern like Using Synchronized getInstance() method, Double checked locking approach and Bill Pugh Implementation using Inner class. For navigating to the other articles on Singleton Design Pattern, please refer table of contents on the right […]

Previous Posts Next posts
Total Posts : 124
follow us in feedly

Like Us On Facebook