Need help with isSortedYes. Inside your loop check whether element n-1 (prev) is less than n (current) and if so, set your ...
Polymorphism - what’s allowed..?Working with different types can get a little tricky for sure. I suggest trying out some different s...
Polymorphism - what’s allowed..?The code I provided will work with one data type or several data types. You'll have to specify the t...
Need help with isSortedFrom beginning to end, think about what must hold true for an array to be deemed as 'sorted.' Assumi...
Polymorphism - what’s allowed..?To make your life easier you should ideally hold your data in the node struct itself, along with pre...
This user does not accept Private Messages