Dev
leetcode questions: dynamic programming
Intro Good video: Dynamic Programming - Learn to Solve Algorithmic Problems & Coding Challenges - YouTube DP is a style of coding where you store t
read moreLeetcode: LinkedList in Python
create a dummy nodeMerge two linked lists.# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = Noneclass
read morePython list/dict functions for leetcode
Listlen(array) : length of array list.indexof(obj)enumerate(array) : adds counter at the beginning. for count, item in enumberate(['x','y','z']) # 0x 1y 2z`range(0,len
read morePython String functions for leetcode
print(f'best RF score: {grid.best_score_:.3f}') str.index(sub[,start[,end]]) str.strip() remove spaces at the beginning and the end strip(str-not-want)lower() print(str.
read moreData mining module outline
- Jiyu
- University
- 10 Apr, 2019
For Warwick University module 909, data mining. 1. intromachine learning frameworkdefine a set of functions define a fitting criteria pick the best functionmachine learning
read moreData analysis module outline
- Jiyu
- University
- 29 Mar, 2019
For Warwick University module 910, Data analysis. 2. math back groundwhy frequency/rank for heavy tailed?The frequency/rank plot because the CCDF is a monotonous function. Moreover, unlike t
read more