Back

Prince Singh Chouhan

Front-end Developer • 1y

Fisher-Yates algorithm shuffles an array by iterating from the end, swapping each element with a randomly selected one preceding it. This ensures each element has an equal chance of ending up anywhere. Time complexity is O(n).

0 replies7 likes

More like this

Recommendations from Medial

Image Description

Harsh Dwivedi

 • 

Medial • 21d

Top News of the day : 1. Google settled a case with the Competition Commission of India (CCI) concerning unfair practices in the Android TV market, paying Rs 20.24 crore. 2. Unacademy CEO Gaurav Munjal has shared an update on the company’s financia

See More
1 replies40 likes
4

Harsh Dwivedi

 • 

Medial • 7d

Top news of the day: 1. Zomato's parent company, Eternal, is ending its quick food delivery service, consolidating it under Blinkit’s Bistro, focusing on in-house kitchens across major Indian cities. 2. A91 Partners and TPG NewQuest are reportedly

See More
0 replies27 likes
7
Image Description

Harsh Dwivedi

 • 

Medial • 4m

Top News of the Day: 1. TikTok and its parent company, ByteDance, have urgently requested the US Supreme Court to block the government's ban on the social media platform. 2. Indian software services firm Wipro has agreed to acquire US-based Applie

See More
1 replies37 likes
7

Download the medial app to read full posts, comements and news.