So in this case, one of the standard ways to do this, is to use what's called a linked list.
标准的处理方法是使用链表,我接下来也准备这么做。
And we're having a difference of opinion as to whether we should use a tuple or a list here, right?
可以“是结果,明白了吗?我们队在这里是应该用数组,还是链表还有一些不同意见对吧?
That can happen but that's abnormal, but changes in maybe the chemistry of the backbone that holds the nucleotides together.
这可能发生的,但属于非正常的变化,而是改变诸如维持核苷酸序列的,主链的化学结构
It's phosphate, carbon, carbon, carbon, phosphate, carbon, carbon, carbon, phosphate and it has this structure hanging off the side.
就是磷酸基与戊糖的碳反复连接,如此循环往复,这种结构构成了主链的一边
Often it's a salt called phosphocholine and so you get a phospholipid that's made of choline and two lipid chains.
它通常是一种叫磷酸胆碱的盐,这样你就得到了一种,由胆碱和两条脂肪链构成的磷脂
A particular instance of that is deep versus shallow copy.
一个很好的例子就是深复制和浅复制,当你想要复制一个链表的时候。
They're derived from a precursor called triacylglyceride, which is as glycerol molecule with three fatty acid chains dangling off of it.
它们来源于一种叫三酰甘油的前体,由甘油分子上连接了,三个脂肪酸链构成
And then linked to the glycerol instead of a third fatty acid chain is a water soluble molecule, like a salt.
但连到甘油上的第三个基团不是脂肪酸链,而是一种水溶性的分子,像盐一样
You then denature again, each one of these strands gets separated, primers bind, turn on the polymerase, a new strand is made.
然后你可以再次使产物链变性,使各链解旋,再结合引物,激活聚合酶,再生成新链
So you made somehow an anti-sense polynucleotide to the insulin gene or some fraction of the insulin gene.
这样你就合成了,胰岛素基因的反义多聚核苷酸链,或者说胰岛素基因的片段
But when you pass a parameter say, a list, you didn't think that you were not only passing the list, you were also passing the functions that operate on the list. In fact you are.
你不会认为你输入的不仅仅是链表,你还传递了处理链表的函数,实际上你正是这么做的,这往往不重要。
Fatty acid chains are fat molecules, they behave, if you have a lot of them in solution like oil.
脂肪酸链就是脂肪分子,它们看上去好像,如果你见过富含脂类的溶液,比如油
What's hanging off of the side of this long molecule that's formed by polymerizing nucleotides are - is this base unit.
在这条由多聚核苷酸,构成的长链分子,一侧悬挂着碱基单位
Let's check it out. I've written a little bit of a test script here, so if we test cell sort, and I've written this so that it's going to print out what the list is at the end of each round, OK.
我们来检查检查,我写了一个小测试脚本,我写这个脚本来测试单元排序,它能够打印出每一轮结束后,链表的是什么样子的。
When you think about an int or a float or a dictionary or a list, you knew that there were functions that operated on them.
当你想到整型,浮点型,或者链表时,你知道可以用函数去处理他们,但是当你传递一个参数,例如链表。
Are you sure you didn't want to do for i in range of list, rather than for i in list?
你真的打算这么做吗?你确定你不是,想在链表范围内定义i而不是定义链表i?
In this case, this particular restriction enzyme cuts symmetrically like this, but not at the same point.
在我们这种情况下,这个限制性内切酶总是这样对称地切割,但两条链切割的位点不一样
There are two upright struts of the ladder, one shown in blue here, the other shown black.
两条上下的主链作为支柱,一条以蓝色表示,一条以黑色表示
But you'd like to write your program not in terms of floats and ints and lists, but in terms of mortgages, and CDOs, and all of the objects that you read about in the paper, the types you read about.
但是你可以不基于,浮点型,整型还有链表来进行编程,而是基于一些房贷类,债务抵押债券类来编程,甚至那些你在报纸上看到的类。
One thing to notice is this part of the double helix that we'll call the backbone.
要注意的是,这两股构成双螺旋的链我们称之为主链
Alright, so if I'm at the end of the chain, that's my value.
好了,所以如果我,是在链表的最后,这个就是我的总价值了。
One of the strands encodes the protein, encodes for the protein, the other does not.
一条链编码蛋白质,指导蛋白质合成,另一条则不能
They face in the opposite direction and you could predict the properties of one from base pairing rules of the other but they're not the same.
它们是反向的,尽管你能够通过一条链上的碱基序列,预测另一条链的序列,但这两条链是不同的
One is that there are two backbones right here in the light blue, so this would be the upright parts of the ladder that are twisted.
其一是浅蓝色所代表的两条主链,这是构成,扭曲梯子的垂直部分
They would naturally hybridize and form a duplex, or a double stranded nucleic acid.
它们会自然杂交并形成双螺旋,或者说双链核酸
For example, the number of elements in the list.
比方说链表中的元素个数。
So let's think about lists. So if l is a list, l sort I can call something like s dot sort, l dot sort.
所以让我们想想链表,所以如果l是一个,链表我可以调用像是s,sort的函数。
Or a list of anything that could be mutable.
或者是包含其它有可变的结果的链表。
So what's going to form the backbone is this continual link, phosphate to sugar, phosphate to sugar, phosphate to sugar, all linked together to form one long, long molecule.
主链是由这样重复的连接构成的,从磷酸到戊糖,周而复始,所有这些连接起来构成一个长链分子
应用推荐