Git Product home page Git Product logo

crease's People

Contributors

hellocrease avatar lixiaoyu0575 avatar

Watchers

 avatar

crease's Issues

题目

/**

  • 有一个 m 行 n 列的矩阵地图,起点位于左上角,终点位于右下角。
  • 一只小马要从起点走到终点,而且每一步只能往前走,不能往回走。
  • 实现一个算法,输入 m 和 n,输出有多少条不同的路可以实现机器马的目标。
  • 比如:
  • 输入: m = 2, n = 3 输出 3
  • 解释:
    1. 右 -> 右 -> 下
    1. 右 -> 下 -> 右
    1. 下 -> 右 -> 右
  • 输入:m = 3, n = 6 输出 21
    */

/**

  • @param {number} m 行数
  • @param {number} n 列数
  • @return {number} 路径条数
    */
    var paths = function(m, n) {

};

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.