I need you to develop some software for me. I would like this software to be developed for Windows using C or C++.
the project is
TASK 1:
Do a singlelinked list
template<typename Key, typename Info>
class Sequence { // implement by Single Linked List
// Without iterator
}
TASK 2:
Write a shuffle function
template<typename Key, typename Info>
Sequence<Key, Info> shuffle (const Sequence<Key,Info> &s1, int s1from, int s1chopLen,
const Sequence<Key,Info> &s2, int s2from, int s2chopLen,
int reps)
/*
S1: 1, 2, 3, 4, 5, 6, 7, 8
S2: 10, 20, 30, 4, 50, 60, 70, 80, 90, 100, 110
S3 = shuffle(S1, 2, 3
S2, 1, 2,
);
S3: 3, 4, 5, 20, 30, 6, 7, 8, 40, 50, (S1 ended so keep going with S2) 60, 70
*/