本文介绍了帮忙做一个简单的BTree的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须制作一个支持基本操作的BTree。更确切地说,BTree存储像Windows Media Player一样的音乐。它必须能够在标题,专辑,艺术家和持续时间上查找,删除和插入。当我删除某个特定艺术家的所有歌曲时,我无法理解该怎么做,然后当我寻找那位艺术家时,他不应该出现。我需要一个好主意,也许是一个简单而好的设计。我不是在寻找代码,只是想法......提前谢谢。

I have to make a BTree that supports basic operations. More precisely, the BTree stores music like Windows Media Player does. It must be capable of Find, Delete and Insert on Title, Album, Artist and Duration. I can''t realize how to do when i delete, for example, all songs from an specific Artist and then when i look for that artist, he should not appears. I need a good idea to do that, maybe a simple and good design. I am not looking for code, just ideas .... Thanks in advance.

推荐答案


这篇关于帮忙做一个简单的BTree的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 22:52