I have faced a serious series of bugs when taking the General Coding Assessment. There were few cases:
- The "break" statement completely ignored the commands that came before and after its line (like "if(something) break;" then everything that was after the loop was completely ignored EDIT: The function terminatedas a whole).
- The result was supposed to return a vector, so I tested by returning a vector, filled with zeros, with the asked size just to see what that the function works. What do you know? It returned an undefined vector.
- There was a similar line along this "for(int j=0;j<nums.size();j++){ if(j==nums.size()-1){res+=nums[j]j}}. Then I got a situation where the function literally constantly added to "res" as if the condition was like "j<=nums.size()-1".
- The scopes of the loops did not function properly. I access and edit values in the vector in a for-loop; next second, the entire vector is now undefined and empty when I initialized it to zero (when testing one of them).
Will there ever be an opportunity to take the test again very soon? This is a complete disaster for a real test assessment.
Thanks to this CodeSignal procedure, I got 675. I could have easily gotten 3 questions correct within 30 minutes and have the rest of the time on the last question. Now, I am doomed for the next month if I have to use this score or hope that I get another opportunity within the two weeks.
Did anyone experience something similar?