Redian新闻
>
怀孕了可不可以跳肚皮舞减肥?
avatar
怀孕了可不可以跳肚皮舞减肥?# Fashion - 美丽时尚
j*g
1
该怎么做?
好像在哪里看到这么个题,平时都是2nodes.
avatar
S*g
2
我未婚妻怀孕了 三个月左右了
她以前一直有练肚皮舞减肥的
现在还可不可以坚持?
我觉得危险
可是我未婚妻说 肚皮摆一摆 又不弯腰 应该没事
avatar
h*n
3
有两个的了多个还不好做?先找两个的lca之后和第三个继续找lca 以此类推 当然效率
上有待提高

该怎么做?好像在哪里看到这么个题,平时都是2nodes.
★ Sent from iPhone App: iReader Mitbbs Lite 7.56

【在 j********g 的大作中提到】
: 该怎么做?
: 好像在哪里看到这么个题,平时都是2nodes.

avatar
s*e
4
大家觉得这个坑怎么样?

【在 S*********g 的大作中提到】
: 我未婚妻怀孕了 三个月左右了
: 她以前一直有练肚皮舞减肥的
: 现在还可不可以坚持?
: 我觉得危险
: 可是我未婚妻说 肚皮摆一摆 又不弯腰 应该没事

avatar
j*g
5

是啊 就是想知道有没有更高效的。。。。

【在 h****n 的大作中提到】
: 有两个的了多个还不好做?先找两个的lca之后和第三个继续找lca 以此类推 当然效率
: 上有待提高
:
: 该怎么做?好像在哪里看到这么个题,平时都是2nodes.
: ★ Sent from iPhone App: iReader Mitbbs Lite 7.56

avatar
M*e
6
不怎么样。。。如果是真的,当然就先放下啊

【在 s****e 的大作中提到】
: 大家觉得这个坑怎么样?
avatar
d*n
7
suppose binary tree root node is "root"
and all nodes pointers are in the array of
nodes[N];
// copied from leetcode.com
Node *lca2(Node *root, Node *p, Node *q) {
if (!root) return NULL;
if (root == p || root == q) return root;
Node *L = lca2(root->left, p, q);
Node *R = lca2(root->right, p, q);
if (L && R) return root;
return L ? L : R;
}
Node *lca_aux(root, left, right )
{
if (left==right)
return lca2(left,right);
return lca2(root,lca2(root,left,right), lca_aux(left+1,right-1));
}
Node *lca(Node * root, nodes[], N){
return lca_aux(root, nodes[0], nodes[N-1])
}
avatar
S*g
8
不是坑 :(
我认真的大家提个建议吧

【在 s****e 的大作中提到】
: 大家觉得这个坑怎么样?
avatar
C*U
9
两个一组 找到lca 得到一串
找到后 找这些nodes的lca
依次继续
最后只剩一个node为止

【在 d****n 的大作中提到】
: suppose binary tree root node is "root"
: and all nodes pointers are in the array of
: nodes[N];
: // copied from leetcode.com
: Node *lca2(Node *root, Node *p, Node *q) {
: if (!root) return NULL;
: if (root == p || root == q) return root;
: Node *L = lca2(root->left, p, q);
: Node *R = lca2(root->right, p, q);
: if (L && R) return root;

avatar
S*g
10
谢谢mm回复
我也这么想的
可是我未婚妻说
肚皮摆一摆 又不弯腰
应该没事

【在 M****e 的大作中提到】
: 不怎么样。。。如果是真的,当然就先放下啊
avatar
h*n
11
刚想说 其实就是 divide and conquer

两个一组
★ Sent from iPhone App: iReader Mitbbs Lite 7.56

【在 C***U 的大作中提到】
: 两个一组 找到lca 得到一串
: 找到后 找这些nodes的lca
: 依次继续
: 最后只剩一个node为止

avatar
I*i
12
这小孩儿不被摇死的话出来后肯定又过人之处。。可以去练个花样滑冰啥的,绝对不怕
转圈儿!

【在 S*********g 的大作中提到】
: 我未婚妻怀孕了 三个月左右了
: 她以前一直有练肚皮舞减肥的
: 现在还可不可以坚持?
: 我觉得危险
: 可是我未婚妻说 肚皮摆一摆 又不弯腰 应该没事

avatar
d*i
13
那假设找K个node的LCA,整个树node数为N,
求LCA的complexity是O(N),总的complexity是不是 N(K-1)?

【在 C***U 的大作中提到】
: 两个一组 找到lca 得到一串
: 找到后 找这些nodes的lca
: 依次继续
: 最后只剩一个node为止

avatar
n*e
14
这个会摔吧,感觉更危险啊

【在 I*******i 的大作中提到】
: 这小孩儿不被摇死的话出来后肯定又过人之处。。可以去练个花样滑冰啥的,绝对不怕
: 转圈儿!

avatar
h*n
15
俩俩的算?

【在 j********g 的大作中提到】
: 该怎么做?
: 好像在哪里看到这么个题,平时都是2nodes.

avatar
E*E
16
不可以吧。。肚子晃来晃去的。。

【在 S*********g 的大作中提到】
: 我未婚妻怀孕了 三个月左右了
: 她以前一直有练肚皮舞减肥的
: 现在还可不可以坚持?
: 我觉得危险
: 可是我未婚妻说 肚皮摆一摆 又不弯腰 应该没事

avatar
t*n
17
能不能递归返回每一个子树的所包含的给定节点,当一个节点其左右子树所含给定节点
之和为给定节点的总数的时候,那么这个节点就是公共子节点...
avatar
c*t
18
呵呵 这坑好玩
avatar
t*8
19
最好不要吧。我也学了快一年肚皮舞,虽然运动量不算大,但是这拧那扭的,还是挺悬
的。我朋友准备怀孕都不去了跳了。
avatar
c*e
20
LOL
坑王都来花生了
花生版真是好地方啊。
avatar
d*9
21
我也跳belly dance,这个舞,怎么会就是摆摆肚子,就算光摆动肚子,也不行啊,
shake belly那个动作最基本了吧,这样跳就等着孩子掉了,想好好的怀孩子就不要跳
avatar
h*n
22
3个月以前不要跳。3个月以后可以跳,尤其怀孕后期跳跳肚皮舞挺好的。但是要和自己
的舞蹈老师沟通好适合自己强度和动作。
我听说肚皮舞的起源有帮助孕妇生产一说呢。
avatar
h*n
23
some info by google:
A woman who is having a normal, healthy pregnancy should be perfectly
capable of continuing her belly dancing throughout the term. Of course, you
should check with your doctor to be sure, but as long as your doctor says it
's safe for you to get low-impact, moderate exercise, then belly dancing
should be fine.
You probably won't want to practice vigorous drum solos with aggressive hip
snaps during your eighth month, and moves involving twisting of the hips
might be uncomfort
avatar
S*g
24
wow!
这个好

you
it
hip

【在 h******n 的大作中提到】
: some info by google:
: A woman who is having a normal, healthy pregnancy should be perfectly
: capable of continuing her belly dancing throughout the term. Of course, you
: should check with your doctor to be sure, but as long as your doctor says it
: 's safe for you to get low-impact, moderate exercise, then belly dancing
: should be fine.
: You probably won't want to practice vigorous drum solos with aggressive hip
: snaps during your eighth month, and moves involving twisting of the hips
: might be uncomfort

avatar
y*g
25
你老板变成跳肚皮舞得了啊?那个东欧来的,哈哈哈
你下一个坑会不会是 "我未婚妻怀的孩子不是我的"?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。