xinyu04

导航

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页

2022年7月11日 #

LeetCode First Missing Positive Map

摘要: Given an unsorted integer array nums, return the smallest missing positive integer. You must implement an algorithm that runs in $O(n)$ time and uses 阅读全文

posted @ 2022-07-11 20:06 Blackzxy 阅读(18) 评论(0) 推荐(0) 编辑

LeetCode 3Sum 双指针

摘要: Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] 阅读全文

posted @ 2022-07-11 03:20 Blackzxy 阅读(17) 评论(0) 推荐(0) 编辑

2022年7月10日 #

LeetCode Container With Most Water 区间贪心

摘要: You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, hei 阅读全文

posted @ 2022-07-10 20:56 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑

LeetCode Median of Two Sorted Arrays 排序

摘要: Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity shou 阅读全文

posted @ 2022-07-10 02:50 Blackzxy 阅读(5) 评论(0) 推荐(0) 编辑

LeetCode Two Sum Map映射

摘要: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each inp 阅读全文

posted @ 2022-07-10 02:25 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑

2022年6月22日 #

Deep Learning Review

摘要: 8-2 image classification 1x1 Conv filter: \[ F_1 ,1 ,1 \] where \(F_1\) is the number of channels. Original input: \[ (N,C,H,W) \] then it's transform 阅读全文

posted @ 2022-06-22 19:41 Blackzxy 阅读(26) 评论(0) 推荐(0) 编辑

2022年6月18日 #

逻辑推理题

摘要: 已知有两个数 \(2 \leq A,B< 100\),甲知道 \(A+B\), 乙知道 \(A\times B\),对话如下: 甲:我不知道,但是你也不知道 乙:现在我知道了 甲:那我也知道了 问这两个数分别是什么? Solution 假设两个数为 \(A,B\),且都满足 \(2\leq A,B\ 阅读全文

posted @ 2022-06-18 19:32 Blackzxy 阅读(51) 评论(0) 推荐(0) 编辑

2022年6月9日 #

Deep Learning 深度学习 Notes Chapter 4 Numerical Computation

摘要: 1. Overflow and underflow Underflow occurs when numbers near zero are rounded to zero Overflow occurswhen numbers with large magnitude are approximated 阅读全文

posted @ 2022-06-09 04:39 Blackzxy 阅读(19) 评论(0) 推荐(0) 编辑

2022年6月8日 #

Deep Learning Week13 Notes

摘要: 1. Attention for Memory and Sequence Translation Attention mechanisms aggregate features with an importance score that: depends on the feature themsel 阅读全文

posted @ 2022-06-08 00:09 Blackzxy 阅读(21) 评论(0) 推荐(0) 编辑

2022年6月6日 #

LeetCode 396 Rotate Function 思维

摘要: You are given an integer array nums of length n. Assume \(arr_k\) to be an array obtained by rotating nums by \(k\) positions clock-wise. We define th 阅读全文

posted @ 2022-06-06 21:01 Blackzxy 阅读(16) 评论(0) 推荐(0) 编辑

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页