명시
I have designed a class which is going to act as a 'live optimizer'.
Currently there is a method which iterates over all the different input configurations using a start, step, end value - just like the optimizer.
However, I can't figure a good practice for preventing duplicates like here:
I've tried a few things but one implementation always breaks the nested loops some how.
Looking for someone to come up with a solution for me here.
- I've set up a testing script ready, which is what is shown above
- The method should accept a dynamic amount of inputs, and iterate all possibilities with duplicates removed.
Code is also attached - I am not sure how complex the solution would be.
I thought if in loop optimization is too hard, maybe some clean up code is needed - but I am sure there is a way to fix the loop counters mathematically.
Look forward to hearing from you.
응답함
1
등급
프로젝트
93
34%
중재
10
40%
/
30%
기한 초과
5
5%
무료
2
등급
프로젝트
80
28%
중재
8
75%
/
13%
기한 초과
41
51%
무료
3
등급
프로젝트
1
0%
중재
1
0%
/
100%
기한 초과
0
무료
프로젝트 정보
예산
50+ USD
개발자에게
45
USD