compator-vs-comparable.hashnode.devCollection Framework : Javato be completed soon… To do : List, Queue, Set Done : Map Broadly there exist 5 distinct group of maps based on their internal behavior & guarantees : General Purpose (Hashing) Ordered (Insertion Sequence) Sorted (Natural / Custom Ordering) ...1d ago·2 min read
the-dsa.hashnode.devMonotonic StackIn this article I intend to provide greater insight on how to Construct a MS. Many articles exist explaining its applicability. But constructing MS might be confusing. However, after reading this article reader will be able to intuitively design diff...Feb 5·5 min read
compator-vs-comparable.hashnode.devComparison in Java : Comparator vs ComparableLearning Objectives : Understanding broader architectural support in Java to facilitate custom object comparison/sorting Two Specific Interfaces in depth : Comparable<T> vs Comparator<T> Why Comparator is usually preferred ? Implementation examp...Jan 2·13 min read