jess
  • Member for 6 years, 10 months
  • Last seen this week
Cryptoanalysis of Vigenere-ciphered text with Kasiski test
3 votes

Alright, I have quite a lot to say about this code. First of all, I tried compiling with GCC and it instantly threw an error as it couldn't find conio.h (I'm guessing this is some Windows only header ...

View answer
Finding the order of sorting of an array
3 votes

A few tips; firstly, localise loop variables. i.e. Instead of int i; for (i = 0; i < len; i++) { scanf("%d", &input[i]); } Use for(int i = 0; i < len; i++) { scanf("%d", &...

View answer
TurboSort challenge
Accepted answer
1 votes

It looks like you're using an algorithm that checks every element of an array above a given value, and every time it finds a smaller one it swaps them. This is very inefficient (very similar to ...

View answer