From d9cf5cebed6b0499bab9fc4123a898d6d01b8733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=A1=D0=BF=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Sun, 18 Feb 2024 11:44:50 +0300 Subject: [PATCH 1/5] my first test --- hw17/tests/TEST.docx | Bin 0 -> 16229 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 hw17/tests/TEST.docx diff --git a/hw17/tests/TEST.docx b/hw17/tests/TEST.docx new file mode 100644 index 0000000000000000000000000000000000000000..3cbb57ab685016f0cfa5d9e2283bbe9b8c730102 GIT binary patch literal 16229 zcmeHu1$P`tvUQ7@nJi{zCX1PwEM}H0W@biETQw6P0H6R206+mi0&5A`+Bg~8IO!?7 z*%>?P(79S$5#)jbQ{(`EKl=aQ@xS;D)F+Nw^fDld+y}h{OgAn`wo(-I4d=!fg%Zs?64SAv$y$jb;oQ-1(NQzgZyl5h=RA$<0Zz`A_a zz3`K|KyFSfS_y!IpqCE|l2|@T_hu(Sf~`GmF)y!^B>T*u87}PH;dCq~*&#(C-g4I6 z0`DpY7l|)jOg#wlwH2W?y%^2N5NY;D^<2LiA5~?Wwz?vEku|*CQ|Sz{rq>yIZi=tC zi;c{*YWbASq)%cm?I|h|B|XB7rpxCqE0|rQC@dZ8SFy-Yl|a>w=fdjUH`f-ZonzdB zR3n+8C4QrZ^$VGZVG973&9`M-t#3+kbDYt91QkgSF*Wxdd8!92cD|`MM{0{?@wdy@ zg6;9B#URU`Ka4{7KQ!z89Rwi%Z|3I0%sg3o!>LuwWe7+u32BtoC5y$kSDvLMV4Wjw?`5?6;qHCa)vJ5|kqW5gKUW zli1*K522~!T`2oh!gu>cFy=&*lXHe7b$MC#DvS52-pn~^jPnZ?;#wXMrMw~?!Fa6` zSl-Yk{52`ew6QTg8?`!p%Et-KOi>n;w=~#R4D_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+#|3eA>I{%mIVtJ{57x3>DkAFb{fb0)j`&<3v@4(+n!Ty4F zencDpQ5g0+{NHyK{sjgA>OLaD|KA?N-zELNvFtBdPw4-Y^!qlm-$neMmj6q{JKn#D z>A!`fzr%me&iw^vC;BJ+-*R=o<9}zu|H8wN|LgJp!;Ak8{ym2N3k=WvPw;OM_3sjX zj}rfqV8ilH3I7%|{*M3mP~tB%01(Co0Q^T_@jLwAef!_x?3{mt|I^dUOM!i;7XSeJ O@d5hKP+6WouKpj7l5{Wt literal 0 HcmV?d00001 From 14091f306c2f03982b4f146ad5e7f4067e739f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=A1=D0=BF=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Fri, 1 Mar 2024 20:42:33 +0300 Subject: [PATCH 2/5] hw18 --- hw18/fraction.php | 38 ++++++++++++++++++++++++++++++++++++++ hw18/intersection.php | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 hw18/fraction.php create mode 100644 hw18/intersection.php diff --git a/hw18/fraction.php b/hw18/fraction.php new file mode 100644 index 000000000..d77b530f3 --- /dev/null +++ b/hw18/fraction.php @@ -0,0 +1,38 @@ +=1;$i--){ + if($dim[$i]!=$dim[$i-1]){ + return $str; + } + } + + if($dim[0]==$dim[1]){ + return $dec[0].'.('.$dim[0].$str_dec[strlen($str_dec)-1].')'; + }else{ + return $dec[0].'.'.$dim[0].$str_dec[strlen($str_dec)-1].'('.$dim[1].$str_dec[strlen($str_dec)-1].')'; + } + } +} diff --git a/hw18/intersection.php b/hw18/intersection.php new file mode 100644 index 000000000..48f81743f --- /dev/null +++ b/hw18/intersection.php @@ -0,0 +1,36 @@ +val = $val; } + * } + * Сложность O(n^2) + */ + +class Solution { + /** + * @param ListNode $headA + * @param ListNode $headB + * @return ListNode + */ + function getIntersectionNode($headA, $headB) { + $nodeA = $headA; + $nodeB = $headB; + while (is_null($nodeA)===false) + { + while(is_null($nodeB) === false) + { + if($nodeA===$nodeB) + { + return $nodeA; + } + $nodeB=$nodeB->next; + } + $nodeA = $nodeA->next; + $nodeB = $headB; + } + return null; + } +} From 3a55122db2821c723c9abac5127f7b6bbcb0cf17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=A1=D0=BF=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Fri, 1 Mar 2024 21:10:54 +0300 Subject: [PATCH 3/5] 1 --- hw17/tests/TEST.docx | Bin 16229 -> 0 bytes hw18/fraction.php | 38 -------------------------------------- hw18/intersection.php | 36 ------------------------------------ 3 files changed, 74 deletions(-) delete mode 100644 hw17/tests/TEST.docx delete mode 100644 hw18/fraction.php delete mode 100644 hw18/intersection.php diff --git a/hw17/tests/TEST.docx b/hw17/tests/TEST.docx deleted file mode 100644 index 3cbb57ab685016f0cfa5d9e2283bbe9b8c730102..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16229 zcmeHu1$P`tvUQ7@nJi{zCX1PwEM}H0W@biETQw6P0H6R206+mi0&5A`+Bg~8IO!?7 z*%>?P(79S$5#)jbQ{(`EKl=aQ@xS;D)F+Nw^fDld+y}h{OgAn`wo(-I4d=!fg%Zs?64SAv$y$jb;oQ-1(NQzgZyl5h=RA$<0Zz`A_a zz3`K|KyFSfS_y!IpqCE|l2|@T_hu(Sf~`GmF)y!^B>T*u87}PH;dCq~*&#(C-g4I6 z0`DpY7l|)jOg#wlwH2W?y%^2N5NY;D^<2LiA5~?Wwz?vEku|*CQ|Sz{rq>yIZi=tC zi;c{*YWbASq)%cm?I|h|B|XB7rpxCqE0|rQC@dZ8SFy-Yl|a>w=fdjUH`f-ZonzdB zR3n+8C4QrZ^$VGZVG973&9`M-t#3+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iTU=}o|`#67im|$DuddP~ACU9vUp5t;V&?y{1 zEnj5ku>;2g$#yg=Lr(q zizfb20z|iZ=Z9o0j#^D#xG1NQ(8`yarQkq?1#nvXn6C&$=1Nwo4jbf%&C;h)x**$9 z&R#(`Q!}fV_yz|`HSNKI$HEiJ%Pj-=tP9S82HN^BREHm~Lc|vQmD7oWchn1^BjuVgEu`b8v4>k3$b@8&D!lwAv zJr7BHe>rg=VA_vZ>A%+#|3eA>I{%mIVtJ{57x3>DkAFb{fb0)j`&<3v@4(+n!Ty4F zencDpQ5g0+{NHyK{sjgA>OLaD|KA?N-zELNvFtBdPw4-Y^!qlm-$neMmj6q{JKn#D z>A!`fzr%me&iw^vC;BJ+-*R=o<9}zu|H8wN|LgJp!;Ak8{ym2N3k=WvPw;OM_3sjX zj}rfqV8ilH3I7%|{*M3mP~tB%01(Co0Q^T_@jLwAef!_x?3{mt|I^dUOM!i;7XSeJ O@d5hKP+6WouKpj7l5{Wt diff --git a/hw18/fraction.php b/hw18/fraction.php deleted file mode 100644 index d77b530f3..000000000 --- a/hw18/fraction.php +++ /dev/null @@ -1,38 +0,0 @@ -=1;$i--){ - if($dim[$i]!=$dim[$i-1]){ - return $str; - } - } - - if($dim[0]==$dim[1]){ - return $dec[0].'.('.$dim[0].$str_dec[strlen($str_dec)-1].')'; - }else{ - return $dec[0].'.'.$dim[0].$str_dec[strlen($str_dec)-1].'('.$dim[1].$str_dec[strlen($str_dec)-1].')'; - } - } -} diff --git a/hw18/intersection.php b/hw18/intersection.php deleted file mode 100644 index 48f81743f..000000000 --- a/hw18/intersection.php +++ /dev/null @@ -1,36 +0,0 @@ -val = $val; } - * } - * Сложность O(n^2) - */ - -class Solution { - /** - * @param ListNode $headA - * @param ListNode $headB - * @return ListNode - */ - function getIntersectionNode($headA, $headB) { - $nodeA = $headA; - $nodeB = $headB; - while (is_null($nodeA)===false) - { - while(is_null($nodeB) === false) - { - if($nodeA===$nodeB) - { - return $nodeA; - } - $nodeB=$nodeB->next; - } - $nodeA = $nodeA->next; - $nodeB = $headB; - } - return null; - } -} From 36b141340e887f14cfd1e7db5bb8deb632119152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=A1=D0=BF=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Fri, 1 Mar 2024 21:11:26 +0300 Subject: [PATCH 4/5] hw18 --- hw18/fraction.php | 38 ++++++++++++++++++++++++++++++++++++++ hw18/intersection.php | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 hw18/fraction.php create mode 100644 hw18/intersection.php diff --git a/hw18/fraction.php b/hw18/fraction.php new file mode 100644 index 000000000..d77b530f3 --- /dev/null +++ b/hw18/fraction.php @@ -0,0 +1,38 @@ +=1;$i--){ + if($dim[$i]!=$dim[$i-1]){ + return $str; + } + } + + if($dim[0]==$dim[1]){ + return $dec[0].'.('.$dim[0].$str_dec[strlen($str_dec)-1].')'; + }else{ + return $dec[0].'.'.$dim[0].$str_dec[strlen($str_dec)-1].'('.$dim[1].$str_dec[strlen($str_dec)-1].')'; + } + } +} diff --git a/hw18/intersection.php b/hw18/intersection.php new file mode 100644 index 000000000..48f81743f --- /dev/null +++ b/hw18/intersection.php @@ -0,0 +1,36 @@ +val = $val; } + * } + * Сложность O(n^2) + */ + +class Solution { + /** + * @param ListNode $headA + * @param ListNode $headB + * @return ListNode + */ + function getIntersectionNode($headA, $headB) { + $nodeA = $headA; + $nodeB = $headB; + while (is_null($nodeA)===false) + { + while(is_null($nodeB) === false) + { + if($nodeA===$nodeB) + { + return $nodeA; + } + $nodeB=$nodeB->next; + } + $nodeA = $nodeA->next; + $nodeB = $headB; + } + return null; + } +} From 2c7b3f50eaafef1e8b077880bbe1e7cb53195f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=A1=D0=BF=D0=B8=D0=BA?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Mon, 4 Mar 2024 23:38:28 +0300 Subject: [PATCH 5/5] (intersection_new) --- hw18/intersection_new.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hw18/intersection_new.php diff --git a/hw18/intersection_new.php b/hw18/intersection_new.php new file mode 100644 index 000000000..48f81743f --- /dev/null +++ b/hw18/intersection_new.php @@ -0,0 +1,36 @@ +val = $val; } + * } + * Сложность O(n^2) + */ + +class Solution { + /** + * @param ListNode $headA + * @param ListNode $headB + * @return ListNode + */ + function getIntersectionNode($headA, $headB) { + $nodeA = $headA; + $nodeB = $headB; + while (is_null($nodeA)===false) + { + while(is_null($nodeB) === false) + { + if($nodeA===$nodeB) + { + return $nodeA; + } + $nodeB=$nodeB->next; + } + $nodeA = $nodeA->next; + $nodeB = $headB; + } + return null; + } +}