Stanford CS Ed Library



This online library collects education CS material from Stanford courses and distributes them for free. Update 2006 For learning code concepts (Java strings, loops, arrays, ...), check out Nick's experimental javabat.com server, where you can type in little code puzzles and get immediate feedback. If you think the CS Education Library is useful, please link to it at http://cslibrary.stanford.edu/
 

Pointers and Memory

Binky Pointer Video picture from video A silly but memorable 3 minute animated video demonstrating the basic structure, techniques, and pitfalls of using pointers. There are separate versions of the video for C, Java, C++, Pascal, and Ada. There is also a more traditional companion text (below) that goes with the video, and a brief history of how the video was made.
Pointer Basics The companion text for the Binky video. Presents the same concepts and examples as the video, and includes study questions with solutions. Code is presented in C, Java, C++ and Pascal.
Pointers and Memory A 31 page explanation of everything you ever wanted to know about pointers and memory. Can be used as an introduction, or as review for people who mostly understand pointers. Mostly uses C, with some discussion of C++ and Java. The early sections introduce basic pointer concepts, while the later sections discuss more advanced topics such as reference pointers and dynamic arrays.

Lists and Trees

Linked List Basics A 26 page introduction to the techniques and code for building linked lists in C. Includes basic examples and sample problems with solutions. Provides a basic understanding of linked lists and pointer code.
Linked List Problems A quick review of linked list basics followed by 18 linked list problems with solutions. The problems range from beginner, to intermediate, to advanced -- an excellent source of pointer algorithm problems.
Binary Trees A 27 page introduction to binary trees. Introduces the basic concepts of binary trees, and then works through a series of practice problems with solution code in C/C++ and Java. Binary trees have an elegant recursive structure, so they make a good introduction to recursive pointer algorithms.
The Great Tree List Recursion Problem One of the neatest pointer/recursion problems you will ever see. This is an advanced problem that uses linked lists, binary trees, and recursion. Includes solution code in Java and C.

Languages

Essential Perl A quick 23 page introduction to the main features of the Perl language. Handy as an introduction or a quick reference.
Essential C A relatively quick, 45 page discussion of most of the practical aspects of programming in C. Explains types, variables, operators, functions, control constructs, arrays, pointers, strings, array/pointer trickery, and the standard library functions. The coverage is complete, but quick, so it is most appropriate for someone with some programming experience. (revised 4/2003)

Unix

Unix Programming Tools A 16 page introduction to the most common Unix tools and their usage in the compile-link-debug process. Introduces gcc, make, gdb, emacs, and the shell. There should be enough information here to allow someone with a little Unix experience to build and debug.

Tetris

Stanford Tetris Project Complete programming materials for a tetris assignment, including a game playing AI. A runnable version is included, along with sufficient materials for people to attempt the project. Presented at the Nifty Assignments Panel at SIG-CSE 2001

Read full article from Stanford CS Ed Library


No comments:

Post a Comment

Labels

Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

Popular Posts