Ad
  • Custom User Avatar

    I don't think using the brute force algorithm in this would be the way to go because, with simple knowledge of combinations, one can gauge that the computer would have to carry out 9^81 operations for different combinations of solutions to just one sudoku tiles board, which is a crazy number. The most efficient way would be using the backtracking algorithm (recursion)

  • Custom User Avatar

    woow nice use of recursion over there

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Can someone give an explanation for this code

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Custom User Avatar

    although the solution might be looking compact and has relatively less number of lines, I think you should focus more on the time and space complexity of the program. I am not an expert in this either, but you can do this problem without introducing two new lists and looping through the whole 'integers' list unless when the outlier is in the end.

  • Loading more items...