keon / algorithms

Minimal examples of data structures and algorithms in Python
MIT License
23.76k stars 4.59k forks source link

fix: test josephus has add intiger list but passing string list #909

Open Krupeshgithub opened 7 months ago

Krupeshgithub commented 7 months ago

algorithms/arrays/josephus has getting two parameters first one is int_list and second is skip. _tests/testarrays/TestJosephus there are passing list inside string values.

  • Just changing the ( _tests/testarrays/TestJosephus ) variable name with annotations and convert into list[int] or list[str].