Coder Social home page Coder Social logo

ahmedkhalil777 / problem-solving Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 2.39 MB

Solving problems of LeetCode - Hacker rank on dotnet

License: Apache License 2.0

C# 98.10% Python 1.27% TSQL 0.63%
algorithms data-structures hackerrank hackerrank-solutions problem-solving leetcode leetcode-csharp leetcode-solutions

problem-solving's Introduction

HackerRank-Dotnet

Solving problems of Hacker rank on dotnet

  • If you like the repo: Give me a star

Piplines

  • Build : .NET
  • Test : .NET

Leet Code Problems

Problem Solution
15. 3Sum #af2db21
605. Can Place Flowers #af2db21
1431. Kids With the Greatest Number of Candies #82b7a48

Domains

The Solution is handled with alphabitical order within the solution domain with TDD techniques

problem-solving's People

Contributors

ahmedkhalil777 avatar ahmedkhalilis avatar

Stargazers

 avatar

Watchers

 avatar  avatar

problem-solving's Issues

790. Domino and Tromino Tiling Leet Code

   public int NumTilings(int n) {
        const int mod = 1000000007;
        int [] dp = new int[n + 10];
        dp[0] = 1;
        dp[1] = 1;
        dp[2] = 2;
        dp[3] = 5;
        for (int i = 4; i <= n; i++)
        {
            dp[i] = dp[i - 1] * 2 % mod + dp[i - 3] % mod;
            dp[i] %= mod;
        }
        return dp[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.