Тёмный
No video :(

Climbing the Leaderboard | Hackerrank | Medium | C# Solution | 

Clean Code
Подписаться 145
Просмотров 957
50% 1

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@garud4445
@garud4445 8 месяцев назад
public static List climbingLeaderboard(List ranked, List player) { List result = new List(); var uniqueRanked = ranked.Distinct().ToList(); int index = uniqueRanked.Count; foreach (int score in player) { // Find the correct rank for the player's score while (index > 0 && score >= uniqueRanked[index - 1]) { index--; } // Add the rank to the result result.Add(index + 1); } return result; }
Далее
5 Simple Steps for Solving Any Recursive Problem
21:03
PEDRO PEDRO INSIDEOUT
00:10
Просмотров 2,4 млн
Climbing The Leaderboard HackerRank Solution
26:04
Просмотров 33 тыс.
How to make a GLOBAL LEADERBOARD system for your game
11:12
Advanced C# - LINQ Tutorial
3:07:24
Просмотров 118 тыс.
Big O Notation - Full Course
1:56:16
Просмотров 548 тыс.
PEDRO PEDRO INSIDEOUT
00:10
Просмотров 2,4 млн