Category: java
The jOOQ (https://www.jooq.org/) is a rich Java Library that allows us to write SQL using fluent style. It generates type-safe SQL and avoids SQL injections rather than building your …
Given the root of a binary tree, consider all root to leaf paths: paths from the root to any leaf. (A leaf is a node with no children.) A …
Iterating over the items in the Java’s Map is very useful. The java.util.Map is a interface where you could have concrete implementations such as java.util.HashMap or java.util.TreeMap. Iterate elements …
Java is Verbose. And worse still, there is little Syntax Sugar. Usually, we want a class that contains Data only. And we need getters and setters to wrap the …
In Java, the Map (java.util.Map) is a Generic Interface that stores a key value pair: /* * @see HashMap * @see TreeMap * @see Hashtable * @see SortedMap * …