Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding rotate list to practice skills section #1834

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/pages/practice/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,23 @@ const Practice: React.FC = () => {
<span>Start Solving</span>
</button>
</motion.div>

<motion.div
className="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 text-left hover:shadow-xl transform hover:scale-105 transition-transform duration-300"
whileHover={{ scale: 1.05 }}
transition={{ type: 'spring', stiffness: 200 }}
>
<h3 className="text-2xl font-semibold text-gray-900 dark:text-white">
Problem 11: Rotate List
</h3>
<p className="text-gray-500 dark:text-gray-400 mt-2">
Given the head of a linked list and an integer k, rotate the list to the right by k places.
</p>
<button className="mt-4 bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center space-x-2 hover:bg-blue-700 transition duration-300 border-none">
<FaPlayCircle className="w-5 h-5" />
<span>Start Solving</span>
</button>
</motion.div>

</div>
</div>
Expand Down
Loading