Tuesday, June 7, 2016

Top 10 ranking algorithm and practice in June, 2016 (II)

June 7, 2016

Put together her favorite 10 algorithm and practice in the following:


1. HackerRank: Sherlock and anagram - 7 blogs with practices
Practice on HackerRank is like to play tennis sports, you have to experience various hitting partners, good workout!

No. 1.
http://juliachencoding.blogspot.ca/2016/03/hackerrank-string-sherlock-and-anagrams.html

No. 2
http://juliachencoding.blogspot.ca/2016/03/hackerrank-sherlock-and-anagrams-ii.html

No. 3

http://juliachencoding.blogspot.ca/2016/03/hackerrank-sherlocks-and-anagram-ii.html

No. 4 Study 6 solutions - Julia chose from over 200 solutions
http://juliachencoding.blogspot.ca/2016/03/hackerrank-sherlock-and-anagrams-iv.html

Julia, work on this code, and put test case in, write your own C# practice:
study the code, order by values,  not by key, try it!
https://gist.github.com/jianminchen/ffcca0582b5f0d1d6a9b

study the blog: Dictionary OrderByDescending
https://goo.gl/6ZbTPz
baby step to learn C# Dictionary class API - Order by and distinct
https://gist.github.com/jianminchen/eff03bea08a95061deb4185af74fea18

No. 6
http://juliachencoding.blogspot.ca/2016/03/hackerrank-sherlock-and-anagram-vii.html

Warm up 12 solutions - "Sherlock and anagram" one by one. Each one for a blog. Focus on speed, correctness.


Back to top 10 Ranking - top 2 ...
2. Leetcode 208 course schedule - warm up the algorithm, practice again in short future.
http://juliachencoding.blogspot.ca/2016/04/leetcode-208-course-schedule.html

3. HackerRank: Two strings - C# 15 solutions
http://juliachencoding.blogspot.ca/2016/03/hacker-rank-two-strings.html

4. Leetcode 312 - Burst Balloons -  Julia, please practice it using C# and post here later.

http://juliachencoding.blogspot.ca/2016/02/leetcode-312-burst-balloons.html


5. Binary Tree Post Order Traversal - Iterative solution
http://juliachencoding.blogspot.ca/2016/05/binary-tree-post-order-traversal.html

6. Leetcode 215: find kth largest element - Julia, please practice it using C# and post here later.
http://juliachencoding.blogspot.ca/2016/05/leetcode-215-find-kth-largest-element.html

Study the solution implemented in Java:
https://github.com/jianminchen/LeetCode-Java-Solutions/blob/master/215.kth-largest-element-in-an-array.java


7. Connect nodes at same level in binary tree - Julia, please practice it using C# and post here later.
http://juliachencoding.blogspot.ca/2016/05/connect-nodes-at-same-level-in-binary.html


8. Leetcode 15: 3 sum
http://juliachencoding.blogspot.ca/2016/05/leetcode-17-3-sum.html

9. Check number is power of 2
http://juliachencoding.blogspot.ca/2016/05/algorithm-check-if-number-is-power-of-2.html

10. Radix sort and practice:
http://juliachencoding.blogspot.ca/2016/05/radix-sort-distribution-sort.html

11. Leetcode: Maximum Gap
http://juliachencoding.blogspot.ca/2015/06/leetcode-distribution-sort-algorithm.html
http://juliachencoding.blogspot.ca/2015/06/leetcode-maximum-gap-no-164.html

 I know what it takes to win, first arrive, last to leave.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete