首页
学习
活动
专区
工具
TVP
发布

魔法师的世界

专栏作者
7
文章
2584
阅读量
7
订阅数
假如我是前端面试官 【算法篇 01】
随机出题:记忆纸牌和数独 海贼王记忆纸牌游戏 生成数据部分: /** * 返回值的区间 [a, b] * @param {number} start * @param {number} end */ const randomBetween = (start, end) => { } /** * 洗牌算法,打乱参数arr, 中所有元素 * @param {array} arr */ const shuffle = (arr) => { } /** * * @pa
李朝
2021-07-28
1611
Grammy Li 打算
Grammy Li Blog 优化 添加搜索功能 前端:获取所有的 blogs, // 获取所有 含有关键字的博客 blogIds= searchBlog(keyword) // 通过 id
李朝
2021-07-28
1K0
c++ | lwketh | day04
note 已知 api 功能: - create_window - window_callback 系统会在窗口事件发生后调用的函数 - 给窗口绑定事件 在 windows 中,事件被称之为消息 - 窗口发生不同事件(案件/鼠标移动等)的时候本函数会自动调用 - PostQuitMessage - buttonAction - keyboardAction
李朝
2021-07-28
3450
c++ | lwketh | day03
#include <vector> #include <iostream> #include <string> using namespace std; template<class T> void _print(T arg) { cout << arg << " "; } template<class... Args> void log(Args... args) { int arr[] = { (_print(args), 0)... }; cout << endl; }
李朝
2021-07-28
4840
c++ | lwketh | day_04
# 雷课堂 - ip and port - 每一个 电脑都有 ip 地址 - 别人可以连接你的电脑,但电脑里面运行多个程序(QQ bilibili zhihu) 到底该连接那个程序 port 16 位数字 0-65535 这个数字就是操作系统给每个网络程序打标签( 操作系统给每个网络程序一个端口 ) 当你指定端口时,一个数据发过来,他那个端口写的是啥,操作系统把数据给你 发给QQ的消息不可能发给游览器,每个程序的端口是不一样的 - tcp
李朝
2021-07-28
1490
c++ | lwketh | day02
#include <vector> #include <iostream> using namespace std; template<class T> void _print(T arg) { cout << arg << " "; } template<class... Args> void log(Args... args) { int arr[] = { (_print(args), 0)... }; cout << endl; } // 作业正式开始 // /
李朝
2021-07-28
2250
c++ | lwketh | day01
using namespace std; template<class T> void _print(T arg) { cout << arg << " "; } template<class... Args> void log(Args... args) { int arr[] = { (_print(args), 0)... }; cout << endl; } // 作业正式开始 // // 例子 1 // 求数组的和 /* 在 C++ 中,函数必须标注返回值类型,变量、
李朝
2021-07-28
1860
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档