Come up with an algorithm to shuffle a deck of cards. Discuss how uniform a distribution your solution would achieve, and how you could potentially improve upon it.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Software Interview Questions

A alone can do a piece of work in 6 days and B alone in 8 days. A and B undertook to do it for Rs. 3200. With the help of C, they completed the work in 3 days. How much is to be paid to C?

1 Answers   Zoho,


What would be the possible test cases for following criteria You have a username filed which don't accept same name twice

0 Answers  


what is extern

0 Answers   Efftronics Systems,


In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?

0 Answers   TCS,


Can we assign more than one Shipment Cost in Delivery Type?

0 Answers  






What are Aggregate Functions?

0 Answers  


What are some of the limitations of state machines? When is the use of state machines appropriate, and when are they insufficient to generate the kinds of behaviors you need in a game?

0 Answers  


can anyone tell me the program to compare two files and write matching records to a file and unmatched to another in mainframe.

0 Answers  


hello jenny thomas, please give me the explanation of below code // z-add 12 A 2p0 move 'shiv' B 4 move A B B Dsply or move B A A dsply // what is result of A an B in display and what is reason behind it?

1 Answers   Bizgaine Technologies,


4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it?

1 Answers   Zoho,


How to iterate map in collection framework?

1 Answers   Mind Infotech,


How to manage Payment terms in Credit Management?

0 Answers  


Categories