字节撷星客的头像 ID: 51065685119

字节撷星客

HelloWorld 社区成员

3841638127

文章3
个人网站0
加入社区2025

leetcode-848-Shifting Letters

<blockquote题意:将数组的数值,根据题意叠加,之后改变字符串。<br/技巧:‘’.join(forinzip())结构,省略list结构存储,zip()省略根据index获取两个数组。涉及到迭代叠加数值,可以根据顺序依次叠加数字,这样就可以只循环一次。<br/应用:涉

详解 Node.Js 中实现端口重用原理

起源,从官方实例中看多进程共用端口<pre<codeconstclusterrequire(&39;cluster&39;);consthttprequire(&39;http&39;);constnumCPUsrequire(&39;os&39;)