Java SQL Blob

Interface Blob is part of java.sql package. Blob is a Java representation of SQL blob datatype. Blob is used to save and retrieve binary data from databases. Blob is supported by ResultSet, PreparedStatement, and CallableStatement…..

Connection Pooling 1

Connection Pooling in Java

Connection pooling means a pool of Connection Objects. Connection pooling is based on an object pool design pattern. Object pooling design pattern is used when the cost (time & resources like CPU, Network, and IO)….


How to Sort a HashMap by Value in Java?

HashMap in java provides quick lookups. They store items in “key, value” pairs. To get a value from the HashMap, we use the key corresponding to that entry. HashMaps are a good method for implementing….


What is a Balanced Binary Tree and How to Check it?

In case of binary trees, if the trees are skewed, they become computationally inefficient to perform operations on. This is the motivation behind making sure that trees are not skewed. Hence the need for balanced….

Linked List Interview

10 Must-Know Linked List Interview Questions

Linked Lists are very popular when it comes to technical interviews. Interviewers love testing a candidate’s ability with questions on Linked List. Linked List as a topic is easy to understand and fun to implement…..


Prim’s algorithm to find a minimum spanning tree in Java

A minimum spanning tree aka minimum weight spanning tree is a subset of the edges of a connected, edge-weighted undirected graph. This subset connects all the vertices together, without any cycles and with the minimum….

Subset Sum problem in java using Dp

Solving the Subset Sum Problem using Dynamic Programming in Java

Subset sum problem is a common interview question asked during technical interviews for the position of a software developer. It is also a very good question to understand the concept of dynamic programming. Subset Sum….

Pascal Triangle in Java

What is Pascal’s Triangle – Java Implementation

Pascal Triangle is named after French mathematician Blaise Pascal. It is a triangular array of binomial coefficients. The triangle follows a very simple rule. Each number is the sum of the two numbers directly above it…..


How to Install Java on Linux Mint

In this tutorial we will learn how to install Java on Linux mint. Java is a very popular language when it comes to programming. It is a common language for android development and other enterprise….

String To Integer

How to Convert String to Integer in Java

Strings and integers are two different data types in Java. Strings in Java stores multiple characters together. Integer stores….well, integers. Converting String to Integer in Java Sometimes strings can contain numbers as characters. This is….

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages