![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
文章平均质量分 64
狂颜
不忘初心 牢记使命
展开
-
(算法岗)美团春季实习生面试复盘
美团算法岗,一面:自我介绍、项目介绍项目问题FCN用过吗,结构是怎样的:https://blog.csdn.net/qq_36269513/article/details/80420363FCN输出的feature map何时需要大一点、何时小一点:1*1 Conv的作用:https://blog.csdn.net/qq_34798152/article/details/102307683梯度消失、梯度爆炸:BN、梯度剪裁、正则化、Skip(Resnet中提出的)、换激活原创 2021-03-29 20:01:33 · 339 阅读 · 0 评论 -
PAT(A) -- 2018.9.8秋季考试-甲级(1148-1151)详细题解
PAT(A) – 2018.9.8秋季考试-甲级写在开头的话:甲级考试多是考查数据结构和一些基础的算法,此次也是我第一次参加PAT考试,赛前约刷了90道题(一个月),得到了一个80分以上的成绩,自我感觉得到了一下几方面的提升:更加熟悉树、图相关数据结构及算法,其中如何利用前中序其二建树,如何最简单的表示邻接表,如何使用dijkstra算法及能记录路径等。甲级考试中,例如动态规划这种算法...原创 2018-09-09 14:34:22 · 4217 阅读 · 0 评论 -
PAT(A) - 1088 Rational Arithmetic(20) -- 分数经典例题
1088 Rational Arithmetic(20)For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient.Input Specification:Each ...原创 2018-09-05 22:17:03 · 182 阅读 · 0 评论 -
PAT(A) - 1087 All Roads Lead to Rome(30) -- Dijkstra+DFS 值得回顾
1087 All Roads Lead to Rome(30)Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with the least cost while gaining the most happin...原创 2018-08-31 21:23:50 · 252 阅读 · 0 评论 -
PAT(A) - 1059 Prime Factors (25) -- 质因子分解
1059 Prime Factors (25) – 质因子分解Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p~1~^k~1~* p~2~^k~2~ *…*p~m~^k~m~.Input Specificati...原创 2018-08-21 15:42:47 · 141 阅读 · 0 评论 -
PAT(A) - 1078 Hashing(25)
1078 Hashing(25 分)The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. The hash function is defined t...原创 2018-08-30 16:41:58 · 144 阅读 · 0 评论 -
PAT(A) - 1064 Complete Binary Search Tree (30) -- 有意思的另一道题
1064 Complete Binary Search Tree (30) – 有意思的另一道题A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only node...原创 2018-08-17 11:49:33 · 165 阅读 · 0 评论 -
PAT(A) - 1053 Path of Equal Weight (30) -- 活用sort()及注意
1053 Path of Equal Weight (30) – 活用sort()及注意Given a non-empty tree with root R, and with weight W~i~ assigned to each tree node T~i~. The weight of a path from R to L is defined to be the sum of the...原创 2018-08-19 21:25:38 · 296 阅读 · 0 评论 -
PAT(A) - 1038 Recover the Smallest Number (30) -- 有意思的一道题
1038 Recover the Smallest Number (30) – 有意思的一道题Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given {32, 321, 3214, 0229, 87}, we can...原创 2018-08-11 11:30:42 · 148 阅读 · 0 评论