Generate all possible string combinations by replacing the hidden “#” number sign
问题 My task is to generates all possible combinations of that rows without the hidden # square. The input is XOXX#OO#XO and here is the example of what the output should be: XOXXOOOOXO XOXXOOOXXO XOXXXOOOXO XOXXXOOXXO I am only allowed to solve this solution iteratively and I am not sure how to fix this and have been working on this code for a week now.. any help would be much appreciated! Here is my code: import java.lang.Math; public class help { public static void main(String[] args) { String