Community Profile

photo

Erik Lee


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


iterating a loop many times
* I'm not sure how to iterate this loop 1,000 times: * * ---a=randperm(20) * LOOP STARTS: * --- code that swaps 2 elemen...

8 years ago | 1 answer | 0

1

answer

Question


swap only 2 elements in an array
I'm try to come up with a function that can randomly swap 2 elements (and only 2 at a time) from an array of 20 unique numbers. ...

8 years ago | 3 answers | 0

3

answers

Question


converting characters to a number string
I'm trying to decipher a text file full of lowercase characters. First I have to convert the characters to 27 numbers (1 for eac...

8 years ago | 1 answer | 0

1

answer

Question


Swapping 2 random array elements and picking subsequent array pairs
I'm try to come up with code that can randomly swap 2 elements (and only 2 at a time) from an array of 27 unique numbers. For in...

8 years ago | 1 answer | 0

1

answer