User profile: hopesfall

User info
User name:hopesfall
Number of posts:179
Latest posts:

Algorithm for finding sub-sequences?
I'm trying to work through some problems in this textbook in my spare time and I came across this ve...

How to pass a pointer to an array by reference?
I have a struct which has an array inside of it: [code]struct someStruct{ int structArray[999]; ...

void pointer as a parameter
I want to have a function that has a pointer to an int/double/string so I thought I'd use a void poi...

How to convert void pointer to int/double/string pointer?
I have a function: [code]const void insertStuff(const void *key, const int value){ // I want to c...

Big O complexity
What is the time complexity of this: while(L1.contains(obj)) { L1.remove(0); if (L2.size() > L1...