Skip to content

Commit

Permalink
Merge pull request #1834 from shriyadindi/patch-1
Browse files Browse the repository at this point in the history
Adding rotate list to practice skills section
  • Loading branch information
ajay-dhangar authored Nov 5, 2024
2 parents 006bd16 + f6e1955 commit 9d2fc6a
Showing 1 changed file with 17 additions and 0 deletions.
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

0 comments on commit 9d2fc6a

Please sign in to comment.