---
title: "#josephus-algoritm articles | Hashnode"
description: "Explore 2 articles tagged #josephus-algoritm on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/josephus-algoritm"
---

Tag

# #josephus-algoritm

2 posts · 0 followers

[Anni Huang](https://hashnode.com/@HuangAnni) · [Jul 7, 2025](https://hashnode.com/posts/leetcode-1823-find-the-winner-of-the-circular-game-med-java/686b74f9d7bf386df1f279c4)

### [LeetCode 1823: Find the Winner of the Circular Game (Med, Java)](https://huanganni.hashnode.dev/leetcode-1823-find-the-winner-of-the-circular-game-med-java?utm_source=hashnode&utm_medium=feed)

Simulation O(n^2) vs Josephus O(n)

5 min read · [huanganni.hashnode.dev](https://huanganni.hashnode.dev/leetcode-1823-find-the-winner-of-the-circular-game-med-java?utm_source=hashnode&utm_medium=feed)

[Ujjwal Sharma](https://hashnode.com/@ujjwalsharma) · [Jul 8, 2024](https://hashnode.com/posts/josephus-algorithm/668be19b432a602f0896a619)

### [Josephus Algorithm](https://ujjwalsharma.hashnode.dev/josephus-algorithm?utm_source=hashnode&utm_medium=feed)

Problem Link Click Here Approaches Approach 1 (Brute force) we will create one array/vector to store the values from 1 to n, representing the sequence of each person As given in the question we will remove one person from the array and move forward...

1 min read · [ujjwalsharma.hashnode.dev](https://ujjwalsharma.hashnode.dev/josephus-algorithm?utm_source=hashnode&utm_medium=feed)
