What I suggest you do instead of having all those ifs and loops inside the add method, refactor some of the code out to other methods. For example write a method that determines at what index the new...
Type: Posts; User: Junky
What I suggest you do instead of having all those ifs and loops inside the add method, refactor some of the code out to other methods. For example write a method that determines at what index the new...
Please provide more information. What does "not working" mean? Do you get errors? Then copy and paste the EXACT error message. Do you get incorrect output? Then post your input, expected output and...