Hi, I am happy to share on how to use Test Driven Development on a Data Structure and Algorithm problem, in this case, to Reverse a String problem.
Find Duplicated Character in String is one of DSA problem and it is a good idea to solve that not only in raw, but also using Test Driven Development, to guarantee that we don’t break previous succeeds implementation.
Let me know if there is anything that I can share!