June 30, 2017
It is a great idea to learn C# programming language using Leetcode. Julia searches Google using keyword "C# SortedSet Leetcode", and then she finds the following algorithms to work on:
Leetcode 23 Merge K Sorted Lists
Leetcode 57 Insert Intervals
Leetcode 128 Longest Consecutive Sequence
Leetcode 220 Remove Duplicate III
Leetcode 239 Sliding Window Maximum
Leetcode 295 Median of Streams
It takes a few hours to study those algorithm written using C# SortedSet.
From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.
Showing posts with label Leetcode 295. Show all posts
Showing posts with label Leetcode 295. Show all posts
Friday, June 30, 2017
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.
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.
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.
Subscribe to:
Posts (Atom)