SSShiwani Sinhainshiwanisinha.hashnode.dev·Jan 23, 2022 · 3 min readJosephus Problem in O(1) Time ComplexityIn computer science this is counting puzzle with count-out logic. It is similar to popular Netflix Drama, Squid Game. So the question goes like : There will be n chairs, numbered 1 to n. Person sitting on the first chair will kill the next person(sit...00