PinnedMalkeith SinghModeling a child parent relationship in the same table using JPA + Spring Boot and representing it…One way of modelling child parent relationships in a SQL database is to store it in the same table with a parent_id column which refers to…5 min read·Sep 21, 2019--4--4
Malkeith SinghA simple explanation of the LeetCode Poor Pigs problem.The question:6 min read·Apr 4, 2023----
Malkeith SinghList<?> vs List<Object> ? Understanding Java Generics.What is the difference between List<?> and List<Object> ? How does List<A> differs from List<? extends A> (where A is any class)? Why…8 min read·Feb 2, 2023--2--2
Malkeith SinghEncrypt and decrypt anything (bytes/files/streams) with PGP using bouncy castle and javaPGP or Pretty Good Privacy is an encryption system that has been used widely across the internet with its main use case being encrypting…7 min read·Nov 12, 2022--3--3
Malkeith SinghHow to split any large file into multiple smaller files by size or by “number of files” using java…This is going to be more than just a “how to” blog. My intention, along with providing a thorough explaination to the question, is to clear…5 min read·Oct 22, 2022--1--1
Malkeith SinghUsing enums as implementions for an interface, how and where it can be helpful !!Interfaces help us in writing losely coupled code which is easily extendable. We all have heard the term “code to interfaces not classes”…3 min read·Sep 13, 2020----