RandomWits

life is too short for a diary



Posts Tagged: java (Page 12)

Kata - Correct the Time String

In this [kata](https://www.codewars.com/kata/57873ab5e55533a2890000c7/), you are given a string that represents a time in the format "HH:MM:SS". The string may be in the wrong format, or it may be missing some characters. Your task is to correct the string so that it represents a valid time...

Continue reading โ†’ java javascript



TestContainers with Spring Boot

Testcontainers is a Java library that provides lightweight, disposable containers for running integration tests. It's a useful tool for testing applications that rely on external dependencies like databases or message queues...

Continue reading โ†’ java spring boot testcontainers



Cribsheet for String in Java

Strings are immutable in java. It's best to convert string to StringBuilder/StringBuffer so that it's memory efficient for string manipulation...

Continue reading โ†’ java interview