Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liyanlong/front-end-test
前端笔试及面试的题目, 整理分享
https://github.com/liyanlong/front-end-test
front-end frontend javascript test
Last synced: 6 days ago
JSON representation
前端笔试及面试的题目, 整理分享
- Host: GitHub
- URL: https://github.com/liyanlong/front-end-test
- Owner: liyanlong
- Created: 2018-01-10T02:26:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:27:10.000Z (about 2 years ago)
- Last Synced: 2023-02-26T13:47:05.784Z (almost 2 years ago)
- Topics: front-end, frontend, javascript, test
- Language: JavaScript
- Homepage:
- Size: 3.9 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Front-End-Test
[![Build Status](https://travis-ci.org/liyanlong/front-end-test.svg?branch=master)](https://travis-ci.org/liyanlong/front-end-test)[![Coverage Status](https://coveralls.io/repos/github/liyanlong/front-end-test/badge.svg)](https://coveralls.io/github/liyanlong/front-end-test)
## 简介
> 以下题目均为个人经历的面试题目收集, 具体实现为个人的想法. 如果有哪些题目有不同的实现方式, 或者代码存在bug, 欢迎提供Issue和PR.
如果大家有遇到一些前端面试题, 不太会实现的, 也欢迎提供Issue, 大家一起来探讨## 前端面试题
- [实现下划线与驼峰变量名转换](./src/core/util/came_case.js#L12-L34)
- [数组去重](./src/core/util/array.js#L6-L16)
- [随机获取范围内不重复的数字](./src/core/util/random.js)
- [合并 Table 单元格](./src/core/dom/table/merge_span.js)
- [Int类型与IP相互转换](./src/core/util/ip_format.js)
- [大数字的相加](./src/core/util/math.js#L2-L33)
- [大数字的相乘](./src/core/util/math.js)
- [请用js实现一个函数求解整数N、N满足 %2==1, %3==2, %5==4, %6==5, %7==0](./src/business/n.js)
## 业务面试题- [计算时间段内股票最优投资区间](./src/business/stock.js)
## 算法面试题
- [冒泡排序算法](./src/arithmetic/sort.js#L3-L24)
- [二分查找算法](./src/arithmetic/search.js#L1-L33)
- [走台阶问题,每次可以走1步或者2步,走到第n个台阶有多少种方式](./src/arithmetic/other.js#L)
- [斐波那契数列, 递归,尾部递归,循环实现方式](./src/arithmetic/fibonacci.js)
- [二叉树遍历,深度寻找](./src/arithemetic/tree/binarytree.js)
- [链表加法](./src/arithemetic/chain/add.js)
- [组合字符串abc, 返回若干种组合序列如 abc, acb, bac, bca, cab, cba](./src/arithemetic/string/index.js)