I have a similar solution, I'd say the exact same approach but somehow random test cases failed sometimes. I ran the loop in recoverSecret function twice to double check and it worked then. I'm quite surprised with the result and pretty sure I'm doing something wrong. I'm begginer so if someone could steer me in the right direction I'd really appriciate it.
Thank you so much! This really helps, funny how i overlooked that simple a thing to begin with.
@cyril-lemaire @B4B kindly help whenever possible
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loved your solution, I couldn't really come up with as good a solution so i forked yours as a reference
I have a similar solution, I'd say the exact same approach but somehow random test cases failed sometimes. I ran the loop in recoverSecret function twice to double check and it worked then. I'm quite surprised with the result and pretty sure I'm doing something wrong. I'm begginer so if someone could steer me in the right direction I'd really appriciate it.
really liked your approach!