life is too short for a diary



Posts Tagged: java (Page 4)

Mastering Parameterized Tests in JUnit 5 with Spring Boot

Want to test smarter, not harder? Parameterized tests let you run the same test with multiple inputs. In this guide, we'll dive into JUnit's `@ParameterizedTest` using `@MethodSource` and `@CsvSource`, plus how to hook it all into Spring Boot...

Continue reading → java spring boot



Mastering JSON in Java using Jackson

JSON(Javascript Object Notation) is the universal language for data exchange in modern applications, particularly when working with REST APIs. In Java, Jackson library is often used for JSON processing. ..

Continue reading → java



Next Greater Element I

The next greater element of some element x in an array is the first greater element that is to the right of x in the same array...

Continue reading → leetcode python monotonic stack java