Non-blocking Algo

Pre-requisites – Multi-threading. What is blocking?Blocking algorithm allows only one thread at a time to access a shared resource in a multi-threaded environment. A resource needs to be shared among a huge number of users but only one user is allowed to use it, a user uses a thread to…

Continue reading

Introduction to ArrayList

What is ArrayList? ArrayList is a dynamic data structure from the Java Collection Framework. It is a widely used data structure in Java developer life. For example, as a developer you are required to fulfill the requirements such as “collecting items into cart”, “delete multiple emails from your inbox”, “multiple…

Continue reading