Grokking Multithreading and Concurrency for Coding Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
Aldemar Hernández
Unnecessary approach

Aldemar Hernández

Jan 6, 2025

It wouldn't be easier just call count property of the list ?

Console.WriteLine($"Element found { foundIndexes.Count } times at indices: " + string.Join(' ', foundIndexes));

0

0

Comments
Comments

On this page