Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

前端笔试及面试的题目, 整理分享

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)