Pinned Repositories
EV-charging-game
qiwang0.github.io
random-permutation
Create a class and use the function rand() to put the six numbers 1, 2, 3, 4, 5, 6 into an array or a vector in random order.
Search-the-vector-
Generate 100 random permutations of the number 1, 2, 3, 4, 5, 6 using of the algorithm you designed for Task 1.3. Store these permutations into a vector. Search the vector to see if the permutation 4, 2, 5, 1, 6, 3 is in the vector.
qiwangai's Repositories
qiwangai/EV-charging-game
qiwangai/qiwang0.github.io
qiwangai/random-permutation
Create a class and use the function rand() to put the six numbers 1, 2, 3, 4, 5, 6 into an array or a vector in random order.
qiwangai/Search-the-vector-
Generate 100 random permutations of the number 1, 2, 3, 4, 5, 6 using of the algorithm you designed for Task 1.3. Store these permutations into a vector. Search the vector to see if the permutation 4, 2, 5, 1, 6, 3 is in the vector.