687. 最长同值路径 C代码:DFS
int res; // int res 0; 这种初始化有问题int dfs(struct TreeNode* root, int val) {if (root NULL) {return 0;}int left dfs(root->left, root->val);int right dfs(root->right, root->val);res fmax(res, lef…
有以下两种错误: 通常,type 1 error is more important!因此我们type 2 error就是在“委曲求全”:
The probability of Type II error can be adjusted to the desired value by changing the size of the groups or by reducing…