Giter Site home page Giter Site logo

answer-for-coding-interviews's Introduction

《剑指offer》习题练习

牛客网的 《剑指offer》习题,使用 C# 语言进行解题尝试。

代码在 src 文件夹内,按照题目在网站目录页的排序添加了序号,其中序号后带有 --- 的文件(比如 27---_Permutation.cs)表示本人未能独立通过该题目的测试,是在参考了其他人的答案之后才完成。

部分题解内带有一个 Test() 方法,其中的测试数据基本都来自牛客网练习中的测试用例。

其中的第12题 Power 使用了 JavaScript,其中的 C# 代码在测试用例输入 2,3 的时候提示:

不通过
您的代码已保存
答案错误:您提交的程序没有通过所有的测试用例
case通过率为0.00%

用例:
2,3

对应输出应该为:

8.00000

你的输出为:

8

answer-for-coding-interviews's People

Watchers

 avatar  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.