---
title: "Shiwani Sinha (@shiwanisinha) | Hashnode"
description: "SOFTWARE DEVELOPER @Valuelabs. Read the latest articles by Shiwani Sinha on Hashnode."
url: "https://hashnode.com/@shiwanisinha"
---

@shiwanisinha

# Shiwani Sinha

@shiwanisinha · Joined January 2022

SOFTWARE DEVELOPER @Valuelabs

### [Josephus Problem in O(1) Time Complexity](https://shiwanisinha.hashnode.dev/josephus-problem-in-o1-time-complexity?utm_source=hashnode&utm_medium=feed)

In 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...

3 min read · [shiwanisinha.hashnode.dev](https://shiwanisinha.hashnode.dev/josephus-problem-in-o1-time-complexity?utm_source=hashnode&utm_medium=feed)

[Jan 23, 2022](https://hashnode.com/posts/josephus-problem-in-o1-time-complexity/61ed5915a12088017fbebf71)
