leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

java/python for leetcode: 1) array,2) list,3) string,4) hashtable,5) math,6) tree

Results 2 leetcode issues
Sort by recently updated
recently updated
newest added

[你的代码链接](https://github.com/zhangyu345293721/leetcode/blob/22c72508a4862324c87b05cff7ab5a830123f848/src/leetcodepython/array/joseph_problem.py) 假设只有3个人,从1开始数,数到3就出列 我运行了你的代码,最后结果是3,但是3应该是第一个就出列的,应该是索引那里弄错了