树相关主要是dfs和bfs,递归万金油常用结构 stack 和queue 占位,刷完来写总结 【111】
TCP/HTTP与socket 首先回顾下计算机网络的五(七)层协议:物理层、数据链路层、网络层、传输层、(会话层、表示层)和应用层。那么从协议上来讲: TCP是传输层协议,...
背景 解决ICS问题。ICS:在深层网络训练的过程中,由于网络中参数变化而引起内部结点数据分布发生变化的这一过程被称作Internal Covariate Shift。(1)...
【Description】Find the kth largest element in an unsorted array. Note that it is the kth...
【Description】Given an array of integers nums, sort the array in ascending order. Exampl...
【Description】Given a binary tree containing digits from 0-9 only, each root-to-leaf pat...
【Description】Given a binary tree and a sum, find all root-to-leaf paths where each path...
【Description】Given a binary tree root and an integer target, delete all the leaf nodes ...
O(n)比较能打。 迭代器思路优化
【LeetCode】102.Binary Tree Level Order Traversal【Description】 Given a binary tree, return the level order traversal of its nodes' value...
107. return res[::-1] 好水
【LeetCode】102.Binary Tree Level Order Traversal【Description】 Given a binary tree, return the level order traversal of its nodes' value...
【Description】 Given a binary tree, return the level order traversal of its nodes' value...
【Description】Given two non-empty binary trees s and t, check whether tree t has exactly...
【Description】Given a binary tree, check whether it is a mirror of itself (ie, symmetric...
引: 在MLP线性基础上,引入特征间的交叉??悸翘卣鞯母呶卣骱拖凳卣?,引入矩阵分解思想来降低特征计算的复杂性。 FM模型具体推导如下。
【Description】Given a binary tree, return the sum of values of its deepest leaves. Examp...
【Mainly Contribution】 attention; mask machines; position embedding; Attention machines ...