If I want the values two, six and eight in there, I would do an insert of two into that set, an insert of six into that set, and an insert of eight into the set.
如果我想让值2,6,8在那个位置,我会把2插入到那个集合中,把6插入到那个集合中,把8插入到那个集合中。
This one, you're just taking what you're given and putting it where you think it belongs.
而对于插入排序,只需要将给出的元素放在,其相应的位置即可。
This is where - this is the region of the plasmid where we're going to insert the DNA that we're interested in.
这就是我们将在质粒上,插入我们感兴趣的DNA的位置
So the first one here is something called insertion sort which amounts to going through the list, taking the first thing that you see and inserting that element into its correct place, - then moving on to the next one, dealing with what element-- whatever element you're given and putting it in its right place.
首先是插入排序,在此算法中,需要遍历整个列表,将你遇到的第一个元素放在其正确的位置,然后移动到下一个元素,继续处理-,不管是什么元素,都将其插入到合适的位置。
应用推荐