What is faster dynamic arrays or linked listsYou are correct. Accessing an index in the dynamic array takes O(1) time complexity. Which basically...
program not loopingWhat while loop are you specificaly having problems with? Also, next time it helps if you put the co...
.txt file into an arrayCan you give more information about the problem. Do you have to use an array? What exactly are you t...
Calculating Time complexity of a couple functionsI am not entirely sure, but depending on what system you ran this on you might get an incorrect answ...
How do I get the code to stop running if a certain condition is true?Excuse me, I meant [code] while ( weight > 0 || weight < 0) [/code]