GithubHelp home page GithubHelp logo

zhangjie123456987 / daily-interview-question Goto Github PK

View Code? Open in Web Editor NEW

This project forked from advanced-frontend/daily-interview-question

0.0 1.0 0.0 104 KB

我是木易杨,公众号「高级前端进阶」作者,每天搞定一道前端大厂面试题,祝大家天天进步,一年后会看到不一样的自己。

Home Page: https://raw.githubusercontent.com/yygmind/blog/master/images/weixin_re.png

daily-interview-question's Introduction

Daily-Interview-Question

加入前端「壹题」学习小组,尽在公众号「高级前端进阶」,进阶共勉之!

工作日每天一道大厂前端面试题,一年后再回头,会感谢曾经努力的自己!


今日面试题

2019-05-31

第 85 题:react-router 里的 <Link> 标签和 <a> 标签有什么区别,如何禁掉 <a> 标签默认事件,禁掉之后如何实现跳转。

解析:第 85 题


本周汇总

2019-05-30

第 84 题:请实现一个 add 函数,满足以下功能。

add(1); 			// 1
add(1)(2);  	// 3
add(1)(2)(3)// 6
add(1)(2, 3); // 6
add(1, 2)(3); // 6
add(1, 2, 3); // 6

解析:第 84 题


2019-05-28

第 83 题:var、let 和 const 区别的实现原理是什么

解析:第 83 题


2019-05-27

第 82 题:算法题「移动零」

给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。

示例:

输入: [0,1,0,3,12]
输出: [1,3,12,0,0]

说明:

  1. 必须在原数组上操作,不能拷贝额外的数组。

  2. 尽量减少操作次数。

解析:第 82 题


历史汇总


半月刊


交流

进阶系列文章汇总如下,觉得不错点个 star,欢迎 加群 互相学习。

https://github.com/yygmind/blog

我是木易杨,公众号「高级前端进阶」作者,跟着我每周重点攻克一个前端面试重难点。接下来让我带你走进高级前端的世界,在进阶的路上,共勉!

image

daily-interview-question's People

Contributors

yygmind avatar copyes avatar iwanabethatguy avatar fingerpan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.