注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
题目是:
A site allows a user to customize their profile, in which they can set the shape of a logo to be between a circle, triangle, square, pentagon and hexagon, along with the logo being either red, green, blue, or any combination of them. In addition to this, it allows the user to have four rotational options for the logo (upright, turned left, turned right, or upside down). Create a data structure along with accompanying get/set functions that will store this information in the most space efficient way.
大家觉得这个用什么ds比较好? 没碰到过这种题目, 没什么思绪。
|