User Tools

Site Tools


weave_method

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
weave_method [2023/05/15 15:58]
harshec
weave_method [2023/05/15 16:33] (current)
harshec
Line 13: Line 13:
         depthS(str.insert('a' + n - 1, i), n, s + 1, i)         depthS(str.insert('a' + n - 1, i), n, s + 1, i)
     depthN(string str, int n) if(n == MAX_N) print("solution = " + n) return calculate_worth_of_all_insertion_points(str) depth(str, n + 1, 0, 0)     depthN(string str, int n) if(n == MAX_N) print("solution = " + n) return calculate_worth_of_all_insertion_points(str) depth(str, n + 1, 0, 0)
-    main() depthN("", 0)</code.+    main() depthN("", 0)
  
 ===Future Work=== ===Future Work===
weave_method.1684166320.txt.gz ยท Last modified: 2023/05/15 15:58 by harshec