-
Posted On Spring
Composite Key in Spring Data JPA: A Powerful Way to Model Relationships
When we design a relational database, we usually rely on a single primary key to identify our records like an id field in our entity…
-
Java vs JavaScript: A Comparative Exploration of Objects and Functions
As a developer with a strong foundation in Java, I have recently left my port to learn JavaScript. Both languages share some similarities, but their…
-
Posted On Java
Reverse Polish Notation
Description Usually, I’m the one who chooses a problem to solve, but this time, the problem chose me. I was revising the Two Sum and…
-
Posted On Java
Perfect Match: How equals() and hashCode() Work Together in Java
In the crucible of Java, equals and hashCode methods got married. Their marriage has a contract that ensures consistency and reliability in the way any…
-
Posted On Java code
Solving String Puzzles with an Outside-the-Box Approach
Introduction: Sometimes, we encounter a problem that seems easy on the surface but proves challenging to solve using conventional thinking. The problem’s description itself is…
-
Posted On Java
Palindromes to : Revisiting My Favorite Java Challenges
The very first problem i solve on my 100 days of java challenge was a palindrome problem – checking a number is a palindrome or…
-
Posted On Java code
KOKO Eating BANANAs
Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours. Koko can decide her bananas-per-hour…
-
Posted On MySQL
Matching Different Data Tables with JOINs. Mastering SQL part – 05
When we design a database, we don’t just put all the data into one table. Instead, we create multiple tables and establish primary and foreign…