Sample codes for studying basic Julia programming, Data structures and Algorithms .
This repository is a Julia sample codes collection of basic programming, Data structures and Algorithms.
I hope this repository will be useful for a lot of people to study Julia programming.
Confirmed the behavior of each program at the following version.
- Julia 1.5.0
Require the following packages.
- Conda 1.4.1
- Plots 1.5.7
- PyCall 1.91.4
- LinearAlgebra
- DataFrames 0.21.6
- CSV 0.7.7
- JSON 0.21.0
- PyPlot 2.9.0
- Statistics
- StatsBase
Require the following version of Python and libraries.
- Python 3.8.3
- matplotlib 3.2.2
- Clone this repository.
- Install Julia and required packages.
- Execute Julia code in each directory.
- Add star to this repository if you like.
All codes are at "src" directory.
Under "src" directory, there are the following sample code directories.
Directory | Content |
---|---|
Array | Initialization and basic arithmetic operation for array |
Collection | Tuple, list, set and dictionary |
ComplexNumber | Definition and basic function for complex number |
Control | Control syntax |
DataFrames | DataFrame creation and operation |
HelloWorld | Output "Hello World" |
LinkedLists | Algorithm samples with LinkedList |
Module | Module definition and how to use as external module |
Operations | Four arithmetic operations |
Plots | Plot 2/3D basic graphs by matplotlib |
Search | Basic search algorithm samples |
StacksAndQueues | Data structure sample: Stacks and Queues |
String | String operations, functions and algorithms |
Tests | Unit tests for each modules |
Trees | Binary Tree, Min/Max Heap and Trie(Prefix Tree) |
Type | Different types definition |
All codes in this repository are released under the MIT License.
If you want to know in detail, please see LICENSE file.