答:社交平台 关注/粉丝/互关 数据结构设计?
关注表字段类型备注user_idint用户idfollow_idint关注idcreate_atint创建时间粉丝表字段类型备注user_idint用户idfans_idint粉丝idcreate_atint创建时间一般这么处理表
2021-03-23
Java Go python 运行速度对比
先使用 javac 编译 Speed.java 文件得到 Speed 字节码文件然后使用 time 命令计算程序运行的时间time java Speed
[LintCode/LeetCode] Check Sum of K Primes
Given two numbers n and k. We need to find out if n can be written as sum of k prime numbers.
2018-06-27
问:php全文搜索如何做开发成本最低?
php全文搜索如何做开发成本最低?目前中文粉彩效率太低,大家有其他方案吗?
2017-03-09✓ 已解决
答:如何通过 webpack 或 rollupjs 加密代码使 nodejs 模块私有?
这题主要是加密和解密中鉴权吧?那就是给rollup写加密插件。给webpack写解密插件。解密插件实际上只负责输入密钥,鉴权和解密语法在包内实现。
2022-06-08
答:Web开发中一个不怎么常见的跨域问题
你想给班花送礼物,但是你知道班花看到是你送的话可能不会收,于是你找到小红同学,让她代你转交。小红把东西丢回给你说,班花在小卖部买辣条呢,你自己直接去吧。然后,,,班花就把你给拒了。
LeetCode 189.Rotate Array
For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].
招聘
远程办公岗位:(自研公司,甲方,非外包)(长期稳定)(前端/后端)20-40k(高级java)20-40k(高级测试)20-30k(高级android/ios)开发 20-40k(运维开发工程师)30-60k(云桌面工程师)25-35k(资深安全工程师)30-40k(高级系统工程师)25-35k(项目经理)30-50k (QA质量专家)20-45k(高级/资深产品经理)35-50k...
2021-10-27
LeetCode541. Reverse String II -- 按步长反转字符串
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there are less than k characters left, reverse all of them. If there are less than 2k but greater than or equal to k characters, then reverse the first k c...
2018-06-29