First C++ data structures exam

>first C++ data structures exam
>"Make an array of doubly linked lists of strings with constant time access and modification"


NOOO NOOOOOOOOOOO WHY IS THIS BULLSHIT SO HARD

Attached: 33481015d04b3974f9ed7acf616592901b13507ebdabf48ee1d6d09d63acc2c4.png (1070x601, 507K)

Other urls found in this thread:

wikipedia.org/wiki/Doubly_linked_list
ufile.io/04q8g
onlinegdb.com/B1fFwEY3M
twitter.com/NSFWRedditVideo

struct Node
{
Node *fwd;
Node *bk;
std::string str;
};
lol?

What is this bullshit there are no structs in C++

wikipedia.org/wiki/Doubly_linked_list

There are structs in C++.

>

DUDE IT DOESNT WORK LIKE THAT

It compiles. So dude it does work like that.

>Constant time access and modification

std::vector > v;
Idontgetit.