(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Solutions for Udacity Course CS348 - Functional Hardware Verification |
// Time complexity O(n). Space complexity O(n) | |
#include "iostream" | |
using namespace std; | |
#define N 7 | |
// Adjacent array( which has a loop 0-1-4-2-0) | |
int AdjArr[N][N] = {0, 1, 1, 1, 0, 0, 0, | |
0, 0, 0, 0, 1, 0, 0, | |
1, 0, 0, 0, 1, 0, 0, | |
0, 0, 0, 0, 0, 1, 0, |
// Alternative JavaScript Syntax | |
Person = :(name, address) { @name!, @address! } | |
Person::inspect = :{ <: "{@name} lives at {@address}" } | |
tj := Person('TJ', '314 Bessborough ave') | |
bob := Person('Bob', 'Some place') | |
[tj, bob].each(:(person){ print(person.inspect()) }) |