Skip to content

Conversation

@DcmTruman
Copy link
Contributor

No description provided.

@DcmTruman DcmTruman changed the title 【Sv】哈希表建立和查找,线性解决冲突 【Sv】哈希表建立和查找,线性解决冲突+排序作业 Jun 18, 2017
Copy link
Collaborator

@chenfucaijun chenfucaijun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 除了一些小问题,第九次(Hash查找表)和第十次(排序)作业基本完成。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 这里你的isSushu用来判断素数的方法不觉得有点浪费效率吗? 本来是为了节省时间的。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 每一趟冒泡排序需进行i次比较,3i次移动。如果写1次,那你计算的是交换次数。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 交换次数是1,移动的次数是3啊

@c4pr1c3 c4pr1c3 merged commit 1e3b77a into CUCCS:master Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants