Adonais's notebook


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

[React] Lists, Conditionals and HOC

Posted on 2018-12-25 | In Frontend , React , List |
Conditionals12345678910111213141516return ( <div className="App"> <button onClick={this.toggleHandler}>Toggle</bu ...
Read more »

[React] React Basic I

Posted on 2018-12-24 | In Frontend , React |
install npm install -g create-react-appcreate create-react-app APPNAMEstart npm start ConceptsImmutabilityReact forces immutability. Strings are immu ...
Read more »

[ES6] ES6 Syntax

Posted on 2018-12-24 | In Frontend , ES6 |
ES6 Syntaxlet & const let used on variable values const constant values Arrow Functionssolves issues with this keyword 12345const myFunc = () =&g ...
Read more »

[Data Mining] Itemsets

Posted on 2018-11-20 | In Data Mining , Itemsets |
Association RuleAssociation Rules: Find all the rules X -> Y with minimum support and confidence Support: s, probability that a transaction contai ...
Read more »

[Leetcode] Graph

Posted on 2018-11-19 | In Leetcode , Graph |
Intro to GraphVideo: https://www.youtube.com/watch?v=zaBhtODEL0w&t=261s Definetion A directed graph is a set V of vertices and a set E of edges. G ...
Read more »

[Leetcode] Set

Posted on 2018-11-19 | In Leetcode , Set |
287. Find the Duplicate NumberLeetcode: https://leetcode.com/problems/find-the-duplicate-number/solution/ Solution 1. Using a set to detect duplicates ...
Read more »

[Leetcode] Heaps & Priority Queue

Posted on 2018-11-13 | In Leetcode , Heap |
IntroductionPriority Queuehttps://www.youtube.com/watch?v=t0Cq6tVNRBA&list=PLUL4IRMCZfeXjd5AzDyry39Mf_pn1YLjQ Time Complexity Find min/max: O(1) ...
Read more »

[Leetcode] Intervals

Posted on 2018-11-11 | In Leetcode , Interval |
Template:The intersection of two intervals: 12345start = max(a.start, b.start)end = min(a.end, b.end)if start <= end: # there exist interval ...
Read more »

[Leetcode] Math

Posted on 2018-11-11 | In Leetcode , Math |
Maximum Common Divisor (最大公约数)Source 123456789101112131415// Function to return gcd of a and bstatic int gcd(int a, int b) { if(a == 0 || b == 0 ...
Read more »

[Leetcode]Sorting

Posted on 2018-11-07 | In Leetcode , Sorting |
OverviewbigO cheat sheet Algorithm Time Complexity QuickSort O(n^2) MergeSort O(n(logn)) HeapSort O(n(logn)) BubbleSort O(n^2) Inserti ...
Read more »
1…11121314

Adonais0

140 posts
131 categories
112 tags
GitHub Twitter
© 2024 Adonais0
Powered by Hexo
|
Theme — NexT.Mist v7.8.0