codinasion-archive / codinasion-monorepo

Community Monorepo
https://codinasion.org
MIT License
52 stars 170 forks source link

Update calculate_the_permutation_of_n_objects_taken_r_at_a_time.py #5675

Closed Greeshmanth1 closed 4 months ago

Greeshmanth1 commented 4 months ago

In the original program, the nPr calculation was implemented using the factorial code, which led to repetitive calculations. Here, I have updated the code to be more efficient and eliminate unnecessary calculations.

codinasion-bot[bot] commented 4 months ago

👋🏻 Hey @Greeshmanth1

💖 Thanks for opening this pull request 💖

This PR will be reviewed and merged shortly.

vercel[bot] commented 4 months ago

@Greeshmanth1 is attempting to deploy a commit to the Codinasion Team on Vercel.

A member of the Team first needs to authorize it.

changeset-bot[bot] commented 4 months ago

⚠️ No Changeset found

Latest commit: 2b5c47c1b348504081118175ec1e450c93bb9f21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codinasion-bot[bot] commented 4 months ago

Thanks very much for contributing!

Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours.

Support this project by giving it a star ⭐.

If you're looking for your next contribution, check out our help wanted issues :zap: