Skip to content

Add: Java array rotation program (left and right rotation)#61

Merged
admirerr merged 3 commits into
admirerr:mainfrom
Harsh-dubey-git:add-java-rotate-array
Oct 2, 2025
Merged

Add: Java array rotation program (left and right rotation)#61
admirerr merged 3 commits into
admirerr:mainfrom
Harsh-dubey-git:add-java-rotate-array

Conversation

@Harsh-dubey-git
Copy link
Copy Markdown

Description

Added a Java solution to rotate arrays either left or right based on user input.

File Added:

  • Java/arrays/RotateArray.java : Rotates a user-input array by a given number of positions in left or right direction.

All code includes proper comments and instructions for compilation and running.

Type of Change

  • New feature

Testing

Tested locally using javac and java. Produces correct output for multiple sample inputs.

Author

Harsh Dubey

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🎉 Welcome to Hacktoberfest 2025, @Harsh-dubey-git! 🎃

Thank you for your first contribution to our DSA repository! Here's what happens next:

🔍 Automatic Checks

  • Code Validation: Passed
  • 🧪 Compilation Tests: Failed

📋 Next Steps

⚠️ Action needed: Please fix the compilation errors and push your changes.

🎁 What You Get

  • 🏆 Hacktoberfest Credit: This PR counts toward your 6 PR goal for exclusive T-shirt + Tree!
  • 🌟 Hall of Fame: You'll be featured in our contributors list
  • 📚 Learning: Code review feedback from experienced developers

💡 Tips for Success

  • Follow our Contributing Guidelines
  • Add comments explaining your algorithm
  • Include time/space complexity analysis
  • Test your code before submitting

Welcome to the community! 🚀

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🤖 Automated PR Status

🔍 Code Validation

Passed - File naming and structure look good!

🧪 Compilation Tests

Failed - Please fix compilation errors and try again.

📋 Overall Status

⚠️ Needs Work - Please address the issues above.
💡 Push new commits to automatically re-run these checks.


This comment was generated automatically. Checks will re-run when you push new commits.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🎉 Welcome to Hacktoberfest 2025, @Harsh-dubey-git! 🎃

Thank you for your first contribution to our DSA repository! Here's what happens next:

🔍 Automatic Checks

  • Code Validation: Passed
  • 🧪 Compilation Tests: Passed

📋 Next Steps

🎯 Great job! Your code compiled successfully. Maintainers @admirerr and @kartikey2991 will review your PR soon.

🎁 What You Get

  • 🏆 Hacktoberfest Credit: This PR counts toward your 6 PR goal for exclusive T-shirt + Tree!
  • 🌟 Hall of Fame: You'll be featured in our contributors list
  • 📚 Learning: Code review feedback from experienced developers

💡 Tips for Success

  • Follow our Contributing Guidelines
  • Add comments explaining your algorithm
  • Include time/space complexity analysis
  • Test your code before submitting

Welcome to the community! 🚀

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🤖 Automated PR Status

🔍 Code Validation

Passed - File naming and structure look good!

🧪 Compilation Tests

Passed - All code compiles successfully!

📋 Overall Status

🎉 Ready for Review - Your PR has passed all automated checks!
👥 Maintainers have been notified for review.


This comment was generated automatically. Checks will re-run when you push new commits.

@admirerr admirerr merged commit f48c935 into admirerr:main Oct 2, 2025
16 checks passed
@Harsh-dubey-git Harsh-dubey-git deleted the add-java-rotate-array branch October 2, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants