Java

Permutationsandcombinations

Permutations and Combinations in Python

Permutations and Combinations of a set of elements are different arrangements of the elements of the set. Combination is a collection of the elements where the order doesn’t matter Permutation is an arrangement of a set where….

Java 15 Features

Java 15 Features

Keeping up with the six-month cycle tradition, after the release of Java 14 on March 17, 2020, we now have Java 15, the next non-LTS version rolling out on September 15, 2020. Java 15 Features….

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)….

SORT A HASHMAP IN JAVA

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….

BALANCED BINARY TREES

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

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…..

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