Chess 960 position generator

The best method of storage depends on what you do with the data afterwards. That being said, an array should be fine. What are you trying to do?