gdgpce / DSA-Challenges-2024

MIT License
2 stars 12 forks source link

Circular Queue Game #17

Open Saket6198 opened 1 month ago

Saket6198 commented 1 month ago

Problem: A group of n friends are playing a circular game where they are positioned in a circle and numbered sequentially from 1 to n in a clockwise direction. The game proceeds according to the following rules:

The input consists of two integers:

The output should be the integer representing the friend who wins the game(the last friend remaining in the circle).


  1. Follow and Read the Contributing Guidelines.

  2. Only the assigned person is allowed to raise the PR on this Issue.

  3. To get this issue assigned to you comment on this issue, along with your name, branch, year and college name.

Note: Make sure to put the question under the relevant folder structure, and then make another folder having the question name and inside that folder you can write your solution in any preferred language.

PALLAVIKHEDLE commented 1 month ago

@Saket6198 Can you please assign it to me?

Saket6198 commented 1 month ago

@PALLAVIKHEDLE mention your name, branch, year and college name.

roshankraveendrababu commented 1 month ago

Hey @Saket6198 @gdscpce please assign me this issue Name: K.R.Roshan Branch: CS College: Sathyabama institute of science and technology Year: 3rd

Saket6198 commented 1 month ago

sure, go ahead :)

guptushar27 commented 1 month ago

Hey @Saket6198 @gdscpce please assign me this issue Name: Tushar Khandelwal Branch: CS College:Amity University Year: 2nd

roshankraveendrababu commented 1 month ago

@Saket6198 i have my code ready but i cant find an folder to upload should i create one on queve or if it's already there can you let me know where

Saket6198 commented 1 month ago

@roshankraveendrababu create one seperate folder for the question inside the deque folder

roshankraveendrababu commented 1 month ago

@roshankraveendrababu create one seperate folder for the question inside the deque folder

sure bro! thanks for the reply