Question: How to shuffle/randomize a linked list in C? I am currently creating an UNO game in C. I have to use a linked list to

How to shuffle/randomize a linked list in C?

I am currently creating an UNO game in C. I have to use a linked list to create the deck (consisting of 108 cards). I need to implement a shuffle function to randomly shuffle the deck, but i am pretty lost on how to do that... if you could help me out by writing the shuffle function for me, that'd be awesome.

Here is a picture of the code I have so far.

How to shuffle/randomize a linked list in C? I am currently creating

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!