Wednesday, May 31, 2017

Leetcode 295 Median of stream

May 31, 2017

Leetcode 295. Find median from data stream - discussion panel is here.

C# solution using SortedSet. The C# code to study is here.

C# solution using MinHeap/ MaxHeap - self defined. The study code is here.

Read blog about the discussion again - link is here - the blog on ardendertat.com

Question 69: Median of a stream (Julia's ranking:  10 out of 10  March 31, 2017), book: Code interviews, Harry He

Follow up 


June 6, 2017

Julia C# practice using SortedSet, the code is here

Julia C# practice using self-defined Heap, the code is here

June 29, 2017
Review SortedSet implementation, the code is here

Actionable Items

Google search "SortedSet C# example leetcode", work on related algorithm, try to get more practice on SortedSet. 





No comments:

Post a Comment