zadt 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +19 -0
- data/lib/zadt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9a920d8e3c3f26a238ebecfa86de9de028d9f37
|
4
|
+
data.tar.gz: 9c18d53307399c01f3e9fb2dcde83c98b1633bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19d1275a2e13747d7a65ad6c024fa4f4ac3a40f4e621f60fa0fe19d75cbbd89133e318f31594cc9858b053e732590e64be263940acc55a0cc1708ea896d44876
|
7
|
+
data.tar.gz: 1d7bdc7267d985247225bb23137e1769096b157fcb9cef60b342df34391b4d7bac381c3f423eb22c1cd76432bcc19d2967a3b605d4f943bb3346823b08caeeca
|
data/README.md
CHANGED
@@ -146,11 +146,30 @@ A Circle is a sub-class of the HyperSphere that has 2 dimensions and the followi
|
|
146
146
|
* area, returns the area of the sphere
|
147
147
|
* circumference, returns the circumference of the sphere
|
148
148
|
* equation, returns a string of the standard equation of the sphere. For example, a sphere with Radius 2 and Center [0,1] will return "x^2 + (y - 1)^2 = 4".
|
149
|
+
|
150
|
+
### Linked Lists
|
151
|
+
|
152
|
+
A Linked List is a chain of nodes that each contain a value, and a pointer to the next link in the chain. A Doubly Linked List has nodes that also point to the previous link in the chain.
|
153
|
+
|
154
|
+
#### LinkedListNode
|
155
|
+
|
156
|
+
LinkedListNode has the following methods.
|
157
|
+
* val, can be used to get and set the value of the node
|
158
|
+
* next, is a pointer to the next node in the chain
|
159
|
+
|
160
|
+
#### DoublyLinkedListNode
|
161
|
+
|
162
|
+
DoublyLinkedListNode has the following methods.
|
163
|
+
* val, is used to get and set the value of the node
|
164
|
+
* next, is a pointer to the next node in the chain
|
165
|
+
* prev, is a pointer to the previous node in the chain
|
166
|
+
|
149
167
|
<!-- ## Development
|
150
168
|
|
151
169
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
152
170
|
|
153
171
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org]("https://rubygems.org"). -->
|
172
|
+
|
154
173
|
## Contributing
|
155
174
|
|
156
175
|
Bug reports and pull requests are welcome on GitHub at https://github.com/mrmicrowaveoven/zadt. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/lib/zadt/version.rb
CHANGED