Skip to content

Conversation

@yanglbme
Copy link
Member

@yanglbme yanglbme commented Dec 9, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 9, 2025 23:21
@idoocs idoocs added cs Issues or Pull requests relate to .cs code md Issues or Pull requests relate to .md files core team Issues or pull requests from core team labels Dec 9, 2025
@yanglbme yanglbme merged commit ef17734 into main Dec 9, 2025
13 of 14 checks passed
@yanglbme yanglbme deleted the de branch December 9, 2025 23:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a C# solution for LeetCode problem #3577 "Count the Number of Computer Unlocking Permutations". The solution implements a mathematical approach to count valid computer unlocking permutations based on complexity constraints.

  • Implements the CountPermutations method using a factorial calculation with modular arithmetic
  • Returns 0 when any computer has complexity less than or equal to the root computer
  • Calculates (n-1)! mod (10^9 + 7) for valid cases

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team cs Issues or Pull requests relate to .cs code md Issues or Pull requests relate to .md files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants