Get the App
SLTechnology News&Howtos  ›  Development  › 

A tutorial on the method of solving Joseph Ring in php

Shulou Source: shulou.com Published: 2022-06-03 07:51:43 09月13日 Update

This article mainly explains the "php method to solve Joseph ring tutorial", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's train of thought slowly in depth, together to study and study the "php method to solve Joseph ring tutorial"!

The Joseph problem (sometimes known as Josephus permutation) is a problem that appears in computer science and mathematics. In computer programming algorithms, similar problems are also known as Joseph rings. Also known as the problem of losing handkerchiefs.

A group of monkeys, all with numbers, stood in a circle, counted to m's shooting, and then counted the rest. Over and over again, the rest of the dead goes crazy.

The copy code is as follows:

Tags: Joseph Joseph questions tutorials methods monkeys learning code content computers also known as numbers that is ideas situations math articles more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Redmi MariaDB Shulou Technology Linux