After tons of attempts and on the edge of desperation I decided to use the answer provided by CodeGym.
First of all, my answer is literally the same as theirs
But this is not everything, it doesn't even pass the provided answer.
How is that even possible ?
Please let me know what you think.
package com.codegym.task.task33.task3310;
import java.math.BigInteger;
import java.security.SecureRandom;
public class Helper {
static String generateRandomString(){
BigInteger randomStr = new BigInteger(130, new SecureRandom());
return randomStr.toString(36);
}
static void printMessage(String message){
System.out.println(message);
}
}