码迷,mamicode.com
首页 >  
搜索关键字:linq intersect    ( 7317个结果
8.构造方法
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7构造方法 { public class St ...
分类:其他好文   时间:2021-01-02 11:25:25    阅读次数:0
C# 定时关机代码
c#定时关机代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; usin ...
分类:Windows程序   时间:2021-01-02 11:04:09    阅读次数:0
[校招-基础算法]常见的ML、DL编程题
原文连接:https://zhuanlan.zhihu.com/p/81891467在算法岗的面试中,除了数据结构和算法的编程题外,机器学习/深度学习的编程题也常常用来考察候选人的基础能力。不能讲了一大堆天花乱坠的算法,连个简单的算法都不能独立实现。非极大值抑制(NMS)NMS用来去掉重复的框。输入前面得到的框,对于每一类,按照score进行降序排序,最大的那个一定保留,然后和其他的框计算IOU。
分类:编程语言   时间:2020-12-19 13:29:37    阅读次数:4
C# AD域验证登录
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.DirectoryServices; na ...
分类:Windows程序   时间:2020-12-18 12:49:42    阅读次数:4
相交链表解法
相交链表解法 在面试中被问到这个问题,没有想出来,遂去LeetCode进行查看,将理解的题解写在下面 解题思路 利用两个临时的节点遍历 一个遍历A 一个遍历B 遍历完A以后指向B的头节点开始遍历 另外一个反之亦然这是因为此处的相交节点从交点后半段都是相同的设A的长度为a B的长度为b 经过互换头节点 ...
分类:其他好文   时间:2020-12-07 12:04:20    阅读次数:4
C# Linq处理list数据
Select(取list中的id列数据,并按逗号分隔成字符串。例:1,2,3,4,5)//方式一 //分成key-value的数组 string[] id = list.Select(a => a.id.ToString()).ToArray(); //dt是datatable类型的,执行LINQ语 ...
分类:Windows程序   时间:2020-12-03 12:18:31    阅读次数:18
C# linq分组拼接字符串
Q: id name1 t2 t3 c 期望结果 {"1,2","t"} {"3","c"} 方法如下: var result = from item in tbl group item by item.name into g let ids = g.Select(b => b.id.ToStrin ...
分类:Windows程序   时间:2020-12-03 12:18:12    阅读次数:16
编写程序,计算数组中奇数之和和偶数之和。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace odds { class Program { s ...
分类:编程语言   时间:2020-11-23 12:16:41    阅读次数:8
C# linq groupby sum
var records = studyRecords.GroupBy(x => x.StudyTime.Date).Select(y => new { date = y.Key, seconds = y.Sum(x => x.StudySeconds) }); ...
分类:Windows程序   时间:2020-11-19 12:42:35    阅读次数:21
R比较两个文件中的名字是否重名
b1.csv name zhangsan lisi aa.csv name zhangsan wangsi check_names <- function(file) { require(readr) check_file <- readr::read_delim(file=file,delim=" ...
分类:其他好文   时间:2020-11-19 12:03:15    阅读次数:3
7317条   上一页 1 ... 4 5 6 7 8 ... 732 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!