Skip to content

Instantly share code, notes, and snippets.

View endland's full-sized avatar

Benjamin.kim (Zeung-il Kim) endland

  • Hyundai motor company
  • Republic of Korea
View GitHub Profile
#include <iostream>
#include <vector>
int main() {
// In the standard library, a std::vector is an array with automatic size.
// Let's make a vector of ints and loop over the contents.
// The syntax for std::vector<> is discussed further in the lecture on template types.
std::vector<int> int_list;
int_list.push_back(1);
@endland
endland / Table1.1
Last active October 5, 2020 01:29
Table1.1 Probability of letters
xi p(xi) xi yi p(xi, yi)
-------------- ---------------------
a 0.06 t h 0.037
e 0.09 t s 0.000
j 0.00 t r 0.012
q 0.01
t 0.07
z 0.00