whiteboard & coding interview practice
whiteboard & coding interview practice
白板 & 面试 & 编码练习

Algorithm
https://www.freecodecamp.org/learn/coding-interview-prep/algorithms/
Data Structure
https://www.freecodecamp.org/learn/coding-interview-prep/data-structures/
Typed Array & Array Buffer
https://www.freecodecamp.org/learn/coding-interview-prep/data-structures/typed-arrays
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
/* 
Type	Each element size in bytes
Int8Array	1
Uint8Array	1
Uint8ClampedArray	1
Int16Array	2
Uint16Array	2
Int32Array	4
Uint32Array	4
Float32Array	4
Float64Array	8
 */
// 1 字节(1 bytes) === 8位 
// 8位 占用 1 字节(1 bytes)
// 16位 占用 2 字节(2 bytes)
// 32位 占用 4 字节(4 bytes)
// 64位 占用 8 字节(8 bytes)
// create a TypedArray with a size in bytes
const typedArray1 = new Int8Array(8);
typedArray1[0] = 32;
const typedArray2 = new Int8Array(typedArray1);
typedArray2[1] = 42;
console.log(typedArray1);
// [32, 0, 0, 0, 0, 0, 0, 0]
console.log(typedArray2);
// [32, 42, 0, 0, 0, 0, 0, 0]
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
const buffer = new ArrayBuffer(8);
// ️ buffer 不可以直接读取, 必须创建对应的 view
const view = new Int32Array(buffer);
refs
Why I studied full-time for 8 months for a Google interview

xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
whiteboard & coding interview practice的更多相关文章
- Cracking the coding interview
		
写在开头 最近忙于论文的开题等工作,还有阿里的实习笔试,被虐的还行,说还行是因为自己的水平或者说是自己准备的还没有达到他们所需要人才的水平,所以就想找一本面试的书<Cracking the co ...
 - 转:Top 10 Algorithms for Coding Interview
		
The following are top 10 algorithms related concepts in coding interview. I will try to illustrate t ...
 - Cracking the coding interview 第一章问题及解答
		
Cracking the coding interview 第一章问题及解答 不管是不是要挪地方,面试题具有很好的联系代码总用,参加新工作的半年里,做的大多是探索性的工作,反而代码写得少了,不高兴,最 ...
 - Cracking the Coding Interview(Trees and Graphs)
		
Cracking the Coding Interview(Trees and Graphs) 树和图的训练平时相对很少,还是要加强训练一些树和图的基础算法.自己对树节点的设计应该不是很合理,多多少少 ...
 - Cracking the Coding Interview(Stacks and Queues)
		
Cracking the Coding Interview(Stacks and Queues) 1.Describe how you could use a single array to impl ...
 - crack the coding interview
		
crack the coding interview answer c++ 1.1 #ifndef __Question_1_1_h__ #define __Question_1_1_h__ #i ...
 - 《Cracking the Coding Interview》读书笔记
		
<Cracking the Coding Interview>是适合硅谷技术面试的一本面试指南,因为题目分类清晰,风格比较靠谱,所以广受推崇. 以下是我的读书笔记,基本都是每章的课后习题解 ...
 - Cracking the coding interview目录及资料收集
		
前言 <Cracking the coding interview>是一本被许多人极力推荐的程序员面试书籍, 详情可见:http://www.careercup.com/book. 第六版 ...
 - Python Coding Interview
		
Python Coding Interview Python Advanced Use enumerate() to iterate over both indices and values Debu ...
 
随机推荐
- Vue整合swiper报错Could not compile template .....swiper\dist\css\swiper.css解决办法
			
问题描述 今天做一个前端项目,安装幻灯片插件vue-awesome-swiper后 运行npm run dev 后报错如下: `ERROR Could not compile template E:\ ...
 - (014)每日SQL学习:oracle下lag和lead分析函数
			
/*语法*/ lag(exp_str,offset,defval) over() Lead(exp_str,offset,defval) over() --exp_str要取的列 --offset取偏 ...
 - (Mysql)连接问题之1130
			
访问远程服务器上的Mysql数据库连接是报:1130-host is not allowed to connect this MYSQL severe; 解决方案: 登录远程服务器下的mysql下. ...
 - Spring Boot 微服务应用集成Prometheus + Grafana 实现监控告警
			
Spring Boot 微服务应用集成Prometheus + Grafana 实现监控告警 一.添加依赖 1.1 Actuator 的 /prometheus端点 二.Prometheus 配置 部 ...
 - Centos7安装成功后,网卡配置及更改镜像地址为国内镜像
			
Centos7安装成功后,网卡配置及更改镜像地址为国内镜像 一.网卡配置 二.修改网络配置 踩坑一:IPADDR 踩坑二:网关,DNS与本地不一致 重启网络服务 三.镜像修改为aliyun 四.相关知 ...
 - JYM虚拟机性能监控与故障处理工具
			
虚拟机性能监控与故障处理工具 一.jps:虚拟机进程状况工具 常用指令 二.jstat:虚拟机统计信息监视工具 常用指令 三.jinfo:配置信息工具 四.jmap:Java内存映像工具 常用指令 五 ...
 - Django(图书管理系统)#转
			
自己虽然实现了, 但是写的太LOW了,为了不误导大家,推荐一篇好的博客 https://www.cnblogs.com/alice-bj/p/9114084.html
 - OpenStack  (nova  计算服务)
			
nova介绍 Nova 负责维护和管理云环境的计算资源,Nova这个模块很重要,可以说是 OpenStack 的最核心的服务模块之一,以至于在 OpenStack 的初期版本里大部分的云系统管理功能都 ...
 - liux 常用操作命令
			
tail -f /home/jyapp/apache-tomcat-7.0.59/logs/catalina.out //查看实施日志 //删除临时目录并且启动服务器 rm -rf /home/jy ...
 - Java 复习整理day08
			
package com.it.demo02_lambda; //接口, 表示动物. //public abstract class Animal { //报错, Lambda表达式只针对于接口有效 p ...