Code Monkey home page Code Monkey logo

leetcodealgorithms's Introduction

LeetCodeAlgorithms

LeetCode Algorithms算法题

1.Two Sum: 给一个int类型的数组,返回一个由其中 两个数字相加等于一个具体的值 的这两个数字的数组下标 这里假设每个输入只有一种解决方案,同时这两个数字不能是由相同的元素组成

2.Add Two Numbers: 给定两个非空链表,表示两个非负整数。这些数字以相反的顺序存储,每个节点都包含一个数字。 添加两个数字并将其作为一个链表返回。 你可以假设这两个数字不包含任何前导零,除了数字0本身。

3.Longest Substring Without Repeating Characters  给定一个字符串,找出里面最长的连续的子串的长度

4.Longest Palindromic Substring  找出最长的回文子串

5.MedianofTwoSortedArrays(难) 找出两个数组的所有元素的中间值

6.ReverseInteger 将一个Int数翻转按规则输出

7.PalindromeNumber 判断一个int类型的数是否是类似于回文数,不能用string的方法

leetcodealgorithms's People

Contributors

ckwcc avatar

Watchers

 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.