From 557704cc019bd3d638c8df693b48a4302ed91b2e Mon Sep 17 00:00:00 2001 From: hdd29 <hdd29@drexel.edu> Date: Sat, 18 May 2019 00:21:15 -0400 Subject: [PATCH] Fix alignment for table of Q3 --- lab07/l7 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lab07/l7 b/lab07/l7 index 945d464..a1ec825 100644 --- a/lab07/l7 +++ b/lab07/l7 @@ -13,20 +13,20 @@ include a picture of the table later The following table is created with random hash value assigned to the states and assuming the prefix pairs (NULL; it's) and (a; new) have the same hash values; (NULL;NULL) and (it's; a) have the same hash value. -statetab[hashValue 1] --> | next | -----------> | next | ---> NULL - | pref[0] | ---> NULL | pref[0] | ---> It's - | pref[1] | ---> NULL | pref[1] | ---> a - | suffix | ---> It's | suffix | ---> new - -statetab[hashValue 2] --> | next | -----------> | next | ---> NULL - | pref[0] | ---> NULL | pref[0] | ---> a - | pref[1] | ---> It's | pref[1] | ---> new - | suffix | ---> a | suffix | ---> dawn - -statetab[hashValue 3] --> | next | ---> NULL - | pref[0] | ---> new - | pref[1] | ---> dawn - | suffix | ---> NULL +statetab[hashValue 1] --> | next | -----------> | next | ---> NULL + | pref[0] | ---> NULL | pref[0] | ---> It's + | pref[1] | ---> NULL | pref[1] | ---> a + | suffix | ---> It's | suffix | ---> new + +statetab[hashValue 2] --> | next | -----------> | next | ---> NULL + | pref[0] | ---> NULL | pref[0] | ---> a + | pref[1] | ---> It's | pref[1] | ---> new + | suffix | ---> a | suffix | ---> dawn + +statetab[hashValue 3] --> | next | ---> NULL + | pref[0] | ---> new + | pref[1] | ---> dawn + | suffix | ---> NULL Number of pointers: It's : 3 -- GitLab