GithubHelp home page GithubHelp logo

chenyufeng's Projects

1.-two-sum icon 1.-two-sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution.

26.-remove-duplicates-from-sorted-array icon 26.-remove-duplicates-from-sorted-array

Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory.

27.-remove-element icon 27.-remove-element

Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory. The order of elements can be changed. It doesn't matter what you leave beyond the new length.

28.-implement-strstr- icon 28.-implement-strstr-

Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

34.-search-for-a-range icon 34.-search-for-a-range

Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1].

35.-search-insert-position icon 35.-search-insert-position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.

48.-rotate-image icon 48.-rotate-image

You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise).

5.-longest-palindromic-substring icon 5.-longest-palindromic-substring

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.

58.-length-of-last-word icon 58.-length-of-last-word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0.

66.-plus-one icon 66.-plus-one

Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list.

67.-add-binary icon 67.-add-binary

Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100".

7.-reverse-integer icon 7.-reverse-integer

Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321

70.-climbing-stairs icon 70.-climbing-stairs

You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

88.-merge-sorted-array icon 88.-merge-sorted-array

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional elements from nums2. The number of elements initialized in nums1 and nums2 are m and n respectively.

android-howold icon android-howold

该项目是基于Face++开发的一款人脸识别App,通过照片可以检测性别和年龄。目前已经上线豌豆荚、搜狗手机助手等多个安卓市场。希望开发者为该项目贡献自己的code力量。This project is an Android app based on Face++ SDK which could detect people face through photos.The app could recognize people's gender and age.At present,the app is sold on Peasecod,Sougou Assistant. I hope developers could contribute your nice code to this app.

avatarphoto icon avatarphoto

设置iOS开发中的圆形头像,该头像可以调用照相机拍摄,也可以从图库中取出。并最终保存到应用程序沙盒中,下次进入应用可以直接读取该头像。

baidumap-trafficassistant icon baidumap-trafficassistant

该项目是基于百度地图SDK开发的一款交通助手App,目前已经上线豌豆荚、魅族应用市场、搜狗手机助手等多个安卓应用市场。希望各位开发者为该项目贡献自己的code力量。This Android App is based on BaiduMap SDK called TrafficAssistant.At present,the app is sold on Peasecod,Meizu App Market,Sougou Assistant. I hope developers could contribute your nice code to this app.

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.