题目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. T
【OJ】【Leetcode】4. Median of Two Sorted Arrays
题目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. T
Socket是网络协议上的一层抽象接口。本文整理了使用socket实现客户端和服务端的流程。 客户端 1. 使用 socket() 创建TCP套接字 该函数在头文件 sys/socket.h 中: [crayon-6932c1fb07eff
错误信息为: :-1: error: No rule to make target ‘C:/Qt/Qt5.8.0/5.8/mingw53_32/bin/uic.exe’, needed by ‘ui_wi
unistd.h linux0.11 中,include/unistd.h 中定义了72个系统调用号
本文解释8086机器开机后的过程,和linux0.11中的相关源代码文件:linux-0.11\boot 目录下的 bootsect.s, setup.s 和 head.s 开机后BIOS的工作 80×86结构的计算机打开电源后,
Linux0.11内核需要用到gcc3.4版本,以及bochs模拟器用来模拟运行编译后的系统。这里用到的环境是ubuntu16.04 64位。 安装编译环境 打开 32 位支持 [crayon-6932c1fb09834877083276/
《机器学习实战》第三章中使用python画决策树
信息 信息论奠基人香农(Shannon)认为“信息是用来消除随机不确定性的东西”,信息量用来量化消除的不确定的多少。事件发生的概率越低,那么该事件发生的信息量就越高 一个发生的事件x的信息量为 h(x) = – log_2{(P
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is
kNN 是 k-NearestNeighbor 的缩写,中文叫做k-临近算法。它的思想是通过一个点最邻接的k个点的分类来预测这个点的分类。 如下图所示,k=3时,预测问号是属于○还是△ 。在距离要预测样本最近的三个点中,有2个是三角,1个时