Giter VIP home page Giter VIP logo

yangzhenping / webrtc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jumpingyang001/webrtc

3.0 3.0 7.0 27.24 MB

webrtc source code from https://chromium.googlesource.com/external/webrtc

License: Other

Python 1.31% Groff 0.01% Objective-C 1.56% Objective-C++ 2.08% C++ 79.65% C 11.87% Java 2.70% Shell 0.30% Ruby 0.01% Protocol Buffer 0.04% Assembly 0.08% HTML 0.05% MATLAB 0.14% JavaScript 0.21%

webrtc's Introduction

yangzhenping

yangzhenping

##LongestWordInAnArticle.c LongestWordInAnArticle.c is a program which implement search a longest word in an article.

  • Currently just support output last longest word
  • word start with '-' or end with '-' will consider a word, so need to exclude them in the future
  • Currently not support like 'What's'

Notes:

  1. abc
  2. def
  3. hij

Compile:

$ gcc LongestWordInAnArticle.c LongestWordInAnArticle

Run:

$ ./LongestWordInAnArticle article1.txt

Todos

  • Write Tests
  • Add Code Comments

##SumOfN-thPowersIsAnN-thPower.c SumOfN-thPowersIsAnN-thPower.c is a program which implement Sum of n-th Powers Is an n-th Power:sum_of_powers_is_a_power.

  • A^5 + B^5 + C^5 + D^5 + E^5 = F^5
  • 0<A<=B<=C<=D<=E<=F<=75
  • A^5 means power(A,5)

Notes:

  1. abc
  2. def
  3. hij

Compile:

$ gcc SumOfN-thPowersIsAnN-thPower.c -lm -o SumOfN-thPowersIsAnN-thPower

Run:

$ ./SumOfN-thPowersIsAnN-thPower

##RecursionTwoDimensionalArray.c RecursionTwoDimensionalArray.c is a program which implement below algorithm:.

  • Consider a N*N table , among it some cell is occupied, if two cells has at least one same edge, we think they are belong to a same group.
  • You will find 3 groups with 2 cells(I marked it as 1 , 2 ,4), one group with 4 cells(3) and 2 group with only 1 cells (5,6)
  • Suppose the table is combined with a two-dimensional arrays, write a function to calculate:
  • Give you a cell in one group, please calculate the size of this group. For example , input: (1,3), output: 2
  • Calculate the count of different groups. For this example: group1 is 2, group2 is 2, group 3 is 4, group4 is 2, group 5 is 1, group 6 is 1.
  • List all groups.
  • Design the test cases.
  • For example , look at below table:
  • 0 0 0 0 0 0 0 0 0 1
  • 0 0 0 1 1 0 0 0 0 1
  • 0 0 0 0 0 0 0 0 0 0
  • 0 0 0 0 1 0 0 1 0 0
  • 0 0 0 1 0 0 0 1 0 0
  • 0 0 0 0 0 0 0 1 1 0
  • 0 0 0 0 1 1 0 0 0 0
  • 0 0 0 0 0 0 0 0 0 0
  • 0 0 0 0 0 0 0 0 0 0
  • 0 0 0 0 0 0 0 0 0 0

Notes:

  1. abc
  2. def
  3. hij

Compile:

$ gcc RecursionTwoDimensionalArray.c -o RecursionTwoDimensionalArray

Run:

$ ./RecursionTwoDimensionalArray

License


MIT

Free Software, Hell Yeah! [//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)

webrtc's People

Contributors

jumpingyang001 avatar

Stargazers

 avatar  avatar  avatar

Watchers

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