Coder Social home page Coder Social logo

yourtion / learningmasteringalgorithms-c Goto Github PK

View Code? Open in Web Editor NEW
758.0 41.0 272.0 604 KB

Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程

License: MIT License

C 98.54% C++ 1.38% Shell 0.08%
mastering-algorithms-c algorithm c xcode tree graph list linked-list set lz77 haffman queue sort heap stack bfs dfs bistree rsa des

learningmasteringalgorithms-c's Introduction

《算法精解:C语言描述》源码及Xcode工程、Linux工程

Mac 下使用 Xcode 打开 MasteringAlgorithms.xcodeproj 即可。Algorithms.xcodeproj 为算法库文件工程。每个 Example 都是单独的运行文件。

Mac 或者 Linux 命令行

只需要有简单的 c 编译环境cc

然后执行 ./run bfs,其中 bfsExample 中的示例目录。

也可以自己使用cc gcc 等,gcc source/*.c Example/bfs/main.c -I ./include -o bfs && ./bfs

ScreenShot

数据结构

链表

栈和队列

集合

哈希表

堆和优先队列

算法

排序和搜索

数值计算

数据压缩

数据加密

图算法

几何算法

learningmasteringalgorithms-c's People

Contributors

yourtion avatar angeltears avatar

Stargazers

 avatar 何亚红 avatar WANG YONGBO avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Ge Zhipeng avatar kurt steiner avatar  avatar  avatar prelearn avatar QWQ avatar  avatar j4 avatar  avatar  avatar  avatar zhiyong.lu avatar flying kite avatar  avatar  avatar  avatar  avatar  avatar 牧游人 avatar  avatar Yummy avatar cuicui avatar Samar Ibrahim avatar MDC avatar ChenShunjie avatar Jimmy Lu avatar Nguyen Manh Hung avatar Kris avatar calabchen avatar potato avatar lnxknl4 avatar  avatar IdyllicSheep avatar ☕¹⁰²⁴ avatar  avatar  avatar  avatar  avatar  avatar Galen avatar  avatar Liang Zhuang  avatar Wanderlnk avatar Prithvi Raj avatar  avatar Dou Ronaldo avatar Zhao Puming avatar  avatar  avatar wujian_snow avatar  avatar  avatar  avatar Hardy avatar  avatar  avatar  avatar 林陌青川 avatar  avatar  avatar 姚磊 avatar  avatar  avatar nations-Xiong avatar shuaiqi.zhang avatar Carlos Ribeiro avatar  avatar  avatar  avatar  avatar  avatar  avatar Jake_Ultra avatar 凤羽呈祯 avatar  avatar kijlee avatar  avatar  avatar  avatar Zinwink avatar perfectlala avatar frankfanslc avatar  avatar Benjamin avatar  avatar Andreas Roussos avatar

Watchers

cntoby avatar 木家彤 avatar  avatar  avatar Li Wei avatar coder avatar  avatar  avatar JJH007 avatar liang yang avatar gaojian avatar sjm avatar cc2cc avatar  avatar 艺飞 avatar  avatar zxr avatar  avatar  avatar Lei Gao avatar guandao712 avatar Kelly avatar  avatar rayhone avatar  avatar 杨成琳 avatar Boda Bhavani avatar  avatar  avatar  avatar 何亚红 avatar  avatar Haolun Zeng avatar  avatar magic0 avatar buaajs avatar EP-Detector avatar nations-Xiong avatar Naiyen avatar  avatar  avatar

learningmasteringalgorithms-c's Issues

关于lz压缩错误

在lz77中,进行压缩时,原代码依旧采用32位操作系统的long 来表示32字节的整型,另一方面,窗口长度为4096,给12个字节的窗口长度会产生一个连续字符无法识别的问题

dear yourtion

郭老师您好,我是技术小白。想请问您这个MIT liscence的意思是您这个code有MIT线上配套课程吗? 多谢

Possibility to offer English support?

Hello @yourtion, I hope you can speak English.

I have found many projects on GitHub that are great, but unfortunately they do not offer English support. I'm pretty sure that if you had offered it in the first place, your project would have attracted more traffic than you can imagine and some smart brains that are out there.

Is it possible to gather a group of Chinese friends that can speak English fluently and translate the docs?

It's shame that I can't understand a word. I cannot offer my help in any way and it's sad.

压缩样例运行错误

编译lz77样例运行的时候出现错误.

Compressing with Huffman coding
Compressing...Done
Uncompressing...Done
-> osize=5983, csize=3272, rsize=5983
Data was restored OK

Compressing with LZ77
Compressing...Done
Uncompressing...Done
-> osize=5983, csize=1527, rsize=5983
Data was not properly restored
-> original[0]="/"
-> restored[0]=0x00

编译环境:

  • Ubuntu16.04 (x86_64)
  • cc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904

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.