I have an array of integers like this,
uint256[] public numberArr = [0,0,1,1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,5,5,5]
What can be the best way to shuffle this array in solidity
arrayssolidity
I have an array of integers like this,
uint256[] public numberArr = [0,0,1,1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,5,5,5]
What can be the best way to shuffle this array in solidity
Best Answer
Try this: