Skip to content

learn-something-new/learn-something-new.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license

Learn Something New

logo

A collection of coding examples and projects to help you learn something new.

Topics

In this suite of documents we discuss functional programming: What it looks like, how it works, and what it's good for. We try to do this from a practical-but-fun perspective, showing examples of functional programming in conventional languages, and (most importantly) how functional programming can complement object-oriented programming.

A collection of Go code for me to re-learn data structures including:

  • Stacks - Fixed size structure with push and pop methods, following the FILO rule (first in, last out)
  • Queues - Fixed size structure with add and del methods, following the FIFO rule (first in, first out)
  • Linked Lists - Non-fixed (only restricted by available memory) data structure with add and del methods. Each item or 'node' in the list contains a pointer to the next item in the list. Their is no first or last out rule that applies to this list as it allows the removal of any item in any order.
  • Doubly Linked Lists - Non-fixed (only restricted by available memory) data structure with add and del methods. Each item or 'node' in the list contains a pointer to the next item in the list as well the previous. Their is no first or last out rule that applies to this list as it allows the removal of any item in any order.

In Go, slices are the most common way of dealing with sequences of data. Slices are an abstraction of the array type in Go. In this topic I provide a basic example of slices and how you can start using them.

A collection of C++ code for me to re-learn data structures including:

  • Stacks - Fixed size structure with push and pop methods, following the FIFO rule (first in, last out)
  • Queues - Fixed size structure with add and del methods, following the FILO rule (first in, first out)
  • Linked Lists - Non-fixed (only restricted by available memory) data structure with add and del methods. Each item or 'node' in the list contains a pointer to the next item in the list. Their is no first or last out rule that applies to this list as it allows the removal of any item in any order.
  • Stacked Linked Lists - Non-fixed (only restricted by available memory) data structure with push and pop methods. Each item or 'node' in the list contains a pointer to the next item in the list. This structure follows the FILO rule (first in, last out).
  • Doubly Linked Lists - Non-fixed (only restricted by available memory) data structure with add and del methods. Each item or 'node' in the list contains a pointer to the next item in the list as well the previous. Their is no first or last out rule that applies to this list as it allows the removal of any item in any order. + Queued Linked List - Non-fixed (only restricted by avaliable memory) data structure with add and del methods. Each item or 'node' in the list contains a pointer to the next item in the list. This structure follows the FIFO rule (first in, first out).

Attributes

Icon made by Freepik from www.flaticon.com is licensed under CC BY 3.0

##License This tool is protected by the GNU General Public License v2.

Copyright Jeffrey Hann 2015

About

A collection of coding examples and projects to help you learn something new.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published