Introduction
It is time for me to memorize IEnumerable all APIs. Recently I need to write a minimum heap using SortedDictionary, one of API is First(). But I did not notice that it is from interface IEnumerable.
Case study
Here is the folder to contain my study of minimum heap using SortedDictionary. I also need to figure out using SortedDictionary, K most closest point actually is maximum heap, I should use negative distance to make maximum heap to a minimum heap.
Here is the folder.
IEnumerable Interface
Aggregate
All
Any
Append
AsEnumerable
Average
Cast
Concat
Contains
Count
DefaultEmpty
Distinct
ElementAt
ElementAtOrDefault
Empty
Except
First
FirstOrDefault
GroupBy
No comments:
Post a Comment