---
title: "Discussion on \"LeetCode 2582. Pass the Pillow Java Solution\" | Hashnode"
description: "Discussion on \"LeetCode 2582. Pass the Pillow Java Solution\". Problem Description\n\nProblem: https://leetcode.com/problems/pass-the-pillow/description/\n\nDescription: People are standing in a circle numbered from 1 to n. Person 1 holds a pillow and every hour they pass the pillow to the person to their right. If ..."
url: "https://hashnode.com/posts/leetcode-2582-pass-the-pillow-java-solution/66991fd250a513f00db1d083"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 2582. Pass the Pillow Java Solution](https://eunhanlee.hashnode.dev/leetcode-2582-pass-the-pillow-java-solution?utm_source=hashnode&utm_medium=feed)

Problem Description Problem: https://leetcode.com/problems/pass-the-pillow/description/ Description: People are standing in a circle numbered from 1 to n. Person 1 holds a pillow and every hour they pass the pillow to the person to their right. If ...

Jul 18, 2024 · 2 min read · eunhanlee.hashnode.dev  
Read the article

-   [#2582-pass-the-pillow](https://hashnode.com/tag/2582-pass-the-pillow)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#algorithm](https://hashnode.com/tag/algorithm)
-   [#java](https://hashnode.com/tag/java)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#algorithm-solving](https://hashnode.com/tag/algorithm-solving)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

  
[View profile](https://hashnode.com/@EunHaSu)

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
