Compare commits

...

147 Commits

Author SHA1 Message Date
3f89175175 Merge pull request '[0] initial commit' (#144) from starikovta/2026-rff_mp:starikovta into develop
Reviewed-on: UNN/2026-rff_mp#144
2026-03-01 13:45:14 +00:00
3360e2dc8f Merge pull request '[0] initial commit' (#140) from MochalovAE/2026-rff_mp:MochalovAE into develop
Reviewed-on: UNN/2026-rff_mp#140
2026-03-01 13:44:44 +00:00
91b3c9a007 Merge pull request '[0] initial commit' (#138) from famutdinovmd/2026-rff_mp:famutdinovmd into develop
Reviewed-on: UNN/2026-rff_mp#138
2026-03-01 13:44:31 +00:00
44552108d4 [0] initial commit 2026-02-28 17:53:25 +03:00
38d4ae0d5e [0] initial commit 2026-02-28 16:42:45 +03:00
7adc1e91f5 [0] initial commit 2026-02-28 14:21:18 +03:00
d2b04e6f0e Merge pull request '[0] initial commit' (#137) from sorokinad/2026-rff_mp:SorokinAD into develop
Reviewed-on: UNN/2026-rff_mp#137
2026-02-28 10:59:40 +00:00
0206cfd65f Merge pull request '[0] initial commit' (#135) from SokolovNE/2026-rff_mp:SokolovNE into develop
Reviewed-on: UNN/2026-rff_mp#135
2026-02-28 10:58:21 +00:00
89f2fa1162 Merge pull request '[0]develop' (#136) from Ezhovnd/2026-rff_mp:develop into develop
Reviewed-on: UNN/2026-rff_mp#136
2026-02-28 10:58:02 +00:00
Морозов Никита С
7278f7d9db Merge branch 'ezhovnd' into develop 2026-02-28 13:55:21 +03:00
Сорокин Александр Д
14272a7c25 [0] initial commit 2026-02-28 13:53:01 +03:00
Морозов Никита С
e613581d34 [0] initial com mit 2026-02-28 13:44:09 +03:00
cdfdb49be1 [0] initial commit 2026-02-28 13:34:18 +03:00
52c001a380 Merge pull request '[0] initial commit' (#134) from nikitovie/2026-rff_mp:nikitovie into develop
Reviewed-on: UNN/2026-rff_mp#134
2026-02-28 10:21:56 +00:00
9dceb29513 [0] initial commit 2026-02-28 13:09:29 +03:00
f409499159 Merge pull request '[0] initial commit' (#133) from gutovvm/2026-rff_mp:GutovVM into develop
Reviewed-on: UNN/2026-rff_mp#133
2026-02-28 09:52:33 +00:00
59076d3df1 Merge pull request '[0] initial commit' (#132) from KolbasovPD/2026-rff_mp:KolbasovPD into develop
Reviewed-on: UNN/2026-rff_mp#132
2026-02-28 09:52:21 +00:00
3dbf137752 Merge pull request '[0] initial commit' (#128) from gorkinmm/2026-rff_mp:GorkinMM into develop
Reviewed-on: UNN/2026-rff_mp#128
2026-02-28 09:52:12 +00:00
918536d2ed Merge pull request '[0] initial commit' (#114) from groshevava/2026-rff_mp:groshevava into develop
Reviewed-on: UNN/2026-rff_mp#114
2026-02-28 09:52:01 +00:00
812f0acac2 Merge pull request '[0] initial commit' (#105) from KuznetsovMA/2026-rff_mp:KuznetsovMA into develop
Reviewed-on: UNN/2026-rff_mp#105
2026-02-28 09:51:40 +00:00
8a30aff913 Merge pull request '[0] initial commit' (#103) from zhigalovrd/2026-rff_mp:zhigalovrd into develop
Reviewed-on: UNN/2026-rff_mp#103
2026-02-28 09:51:17 +00:00
d157503ef2 Merge pull request '[0] initial commit' (#120) from shapovalovka/2026-rff_mp:shapovalovka into develop
Reviewed-on: UNN/2026-rff_mp#120
2026-02-28 09:51:03 +00:00
8d4e9ebeca Merge pull request '[0] initial commit' (#112) from kuznetsovTD/2026-rff_mp:kuznetsovTD into develop
Reviewed-on: UNN/2026-rff_mp#112
2026-02-28 09:50:50 +00:00
ec9b3fb7c6 Merge pull request '[0] initial commit' (#111) from bolonkinnm/2026-rff_mp:BolonkinNM into develop
Reviewed-on: UNN/2026-rff_mp#111
2026-02-28 09:50:07 +00:00
a29c7d7af6 Merge pull request '[0] initial commit' (#110) from ShulpinIN/2026-rff_mp:ShulpinIN into develop
Reviewed-on: UNN/2026-rff_mp#110
2026-02-28 09:49:54 +00:00
ef189db30c Merge pull request '[0] initial commit' (#117) from SokolovEN/2026-rff_mp:SokolovEN into develop
Reviewed-on: UNN/2026-rff_mp#117
2026-02-28 09:49:44 +00:00
110e13b31e Merge pull request '[0] initial commit' (#118) from VildyaevAV/2026-rff_mp:VildyaevAV into develop
Reviewed-on: UNN/2026-rff_mp#118
2026-02-28 09:49:34 +00:00
5640088b5a Merge pull request '[0] initial commit' (#121) from ZhuravlevDV/2026-rff_mp:ZhuravlevDV into develop
Reviewed-on: UNN/2026-rff_mp#121
2026-02-28 09:49:19 +00:00
d2b26c6f9e Merge pull request '[0] initial commit' (#108) from borisovmi/2026-rff_mp:BorisovMI into develop
Reviewed-on: UNN/2026-rff_mp#108
2026-02-28 09:49:08 +00:00
a48c0abf0d Merge pull request '[0] initial commit' (#104) from soninrv/2026-rff_mp:soninrv into develop
Reviewed-on: UNN/2026-rff_mp#104
2026-02-28 09:48:56 +00:00
6ec811b963 Merge pull request '[0] initial commit' (#116) from SobolevNS/2026-rff_mp:SobolevNS into develop
Reviewed-on: UNN/2026-rff_mp#116
2026-02-28 09:48:38 +00:00
5fc3c42694 Merge pull request '[0] initial commit' (#113) from rybakovaa/2026-rff_mp:rybakovaa into develop
Reviewed-on: UNN/2026-rff_mp#113
2026-02-28 09:48:25 +00:00
16808ba847 Merge pull request '[0] initial commit' (#119) from agafonovdm/2026-rff_mp:agafonovdm into develop
Reviewed-on: UNN/2026-rff_mp#119
2026-02-28 09:47:52 +00:00
e19c3b7841 Merge pull request '[0] initial commit' (#122) from larikovaaa/2026-rff_mp:LarikovaAA into develop
Reviewed-on: UNN/2026-rff_mp#122
2026-02-28 09:47:35 +00:00
88aa5a412f Merge pull request '[0] initial commit' (#126) from lukovnikovde/2026-rff_mp:LukovnikovDE into develop
Reviewed-on: UNN/2026-rff_mp#126
2026-02-28 09:47:18 +00:00
61f966e163 Merge pull request '[0] initial commit' (#125) from Ridge/2026-rff_mp:KorotkinSE into develop
Reviewed-on: UNN/2026-rff_mp#125
2026-02-28 09:46:55 +00:00
8c4322f768 Merge pull request '[0] initial commit' (#127) from SolovevDD/2026-rff_mp:SolovevDD into develop
Reviewed-on: UNN/2026-rff_mp#127
2026-02-28 09:46:41 +00:00
b85b706169 Merge pull request '[0] initial commit' (#106) from KuznetsovYuM/2026-rff_mp:KuznetsovYuM into develop
Reviewed-on: UNN/2026-rff_mp#106
2026-02-28 09:46:28 +00:00
8198cfb061 Merge pull request '[0] initial commit' (#102) from petryaninyas/2026-rff_mp:petryaninyas into develop
Reviewed-on: UNN/2026-rff_mp#102
2026-02-28 09:42:49 +00:00
7b7e8e93d4 Merge pull request '[0] initial commit' (#100) from MarkinAM/2026-rff_mp:MarkinAM into develop
Reviewed-on: UNN/2026-rff_mp#100
2026-02-28 09:42:19 +00:00
036c08c2d9 [0] initial commit 2026-02-28 08:25:52 +03:00
2bf7ca3c92 [0] initial commit 2026-02-28 01:11:43 +03:00
786881334d [0] initial commit 2026-02-27 23:43:40 +03:00
SolovevDD
ddf8ef5105 [0] initial commit 2026-02-27 23:37:07 +03:00
ab854a04dd [0] initial commit 2026-02-27 23:32:09 +03:00
c121e51b1f [0] initial commit 2026-02-27 22:13:03 +03:00
3e5ee4a5a4 [0] initial commit 2026-02-27 20:36:00 +03:00
aa6fbb0692 [0] initial commit 2026-02-27 19:17:17 +03:00
shapovalovka
9eedcecf0c [0] initial commit 2026-02-27 19:14:53 +03:00
2204ca3dc8 [0] initial commit 2026-02-27 18:55:31 +03:00
764e6a3a2c [0] initial commit 2026-02-27 18:00:19 +03:00
ec48b13150 [0] initial commit 2026-02-27 12:00:34 +03:00
3cfd61e6cc [0] initial commit 2026-02-27 09:09:05 +03:00
groshevava
57c811ece4 [0] initial commit 2026-02-26 23:04:47 +00:00
0d86929b62 [0] initial commit 2026-02-26 23:02:00 +03:00
e442988725 [0] initial commit 2026-02-26 22:53:18 +03:00
1a041a4dac [0] initial commit 2026-02-26 21:00:34 +03:00
af2f607a3b [0] fix: correct file extension to .md 2026-02-26 19:50:20 +03:00
96532a99fb [0] initial commit 2026-02-26 19:44:37 +03:00
809f768703 [0] initial commit 2026-02-26 13:38:56 +03:00
154b9b8b65 [0] initial commit 2026-02-26 13:34:48 +03:00
aeb608a5d3 [0] initial commit 2026-02-25 19:02:50 +03:00
f541180fcf [0] initial commit 2026-02-25 17:16:19 +03:00
134b330145 [0] initial commit 2026-02-25 14:17:27 +03:00
8dc1d57252 [0] initial commit 2026-02-24 23:07:54 +03:00
MarkinAM
d7a13c9fe6 [0] initial commit 2026-02-24 17:57:48 +03:00
8124ef4551 [1] docs: data structures 2026-02-24 14:04:28 +00:00
8744999b03 Merge pull request '[1] raskatovia' (#99) from raskatovia/2026-rff_mp:raskatovia-2 into develop
Reviewed-on: UNN/2026-rff_mp#99
2026-02-24 12:17:16 +00:00
01f0e5dd88 Merge pull request '[0] initial commit' (#97) from pogodinda/2026-rff_mp:pogodinda into develop
Reviewed-on: UNN/2026-rff_mp#97
2026-02-24 12:16:53 +00:00
Иван
0c990ece48 [1] second submission 2026-02-23 13:49:00 +03:00
Иван
9af52f3f7b [429] initial 2026-02-23 13:38:33 +03:00
Иван
9e70450c50 [1] fix 2026-02-22 21:16:21 +03:00
Иван
a7323e3762 [0] initial commit 2026-02-22 21:07:02 +03:00
365f830e05 [0] initial commit 2026-02-22 12:45:20 +03:00
7fe5c11997 Обновить .gitignore 2026-02-21 11:45:45 +00:00
969b9ee469 Merge pull request '[0]sobininaas' (#93) from sobininaas/2026-rff_mp:sobininaas into develop
Reviewed-on: UNN/2026-rff_mp#93
2026-02-21 11:45:04 +00:00
0c6a8bd4db Обновить .gitignore 2026-02-21 11:44:54 +00:00
b849e3a7bc Merge branch 'develop' of http://31.128.43.79:3000/UNN/2026-rff_mp into develop 2026-02-21 14:29:21 +03:00
123
2e0eec1543 [0] 2026-02-21 14:28:51 +03:00
17fc44d83e fixed conflict 2026-02-21 14:28:06 +03:00
4b24d66ab7 Удалить 428.md 2026-02-21 11:24:46 +00:00
123
48d37c6f77 [0] initial commit 2026-02-21 14:23:21 +03:00
4a26e7aa89 Merge pull request '[0]shekurovAA' (#94) from shekurovaa/2026-rff_mp:shekurovAA into develop
Reviewed-on: UNN/2026-rff_mp#94
2026-02-21 11:15:41 +00:00
e0eb3ae13a Merge pull request '[0]' (#95) from fomichevks/2026-rff_mp:fomichevks into develop
Reviewed-on: UNN/2026-rff_mp#95
2026-02-21 11:15:29 +00:00
f983a6fa1d [0] 2026-02-21 14:13:16 +03:00
Смирнов Андрей Д
356e4b53dd [0] initial commit 2026-02-21 14:11:17 +03:00
b7cea24df4 Merge pull request '[0] initial commit' (#89) from smirnovad/2026-rff_mp:smirnovad into develop
Reviewed-on: UNN/2026-rff_mp#89
2026-02-21 11:05:41 +00:00
8221562750 Merge pull request '[0] initial commit' (#88) from semyanovra/2026-rff_mp:semyanovra into develop
Reviewed-on: UNN/2026-rff_mp#88
2026-02-21 11:05:32 +00:00
123
789d8ef3bb [0] 2026-02-21 14:04:51 +03:00
Смирнов Андрей Д
6e433a36ae [0] initial commit 2026-02-21 14:04:28 +03:00
123
a50fd0bfc1 [0] 2026-02-21 14:03:15 +03:00
Семьянов Руслан А
de2b98bc01 [0] initial commit 2026-02-21 13:58:46 +03:00
c53b093c38 Merge pull request '[0] initial commit' (#87) from kornevma/2026-rff_mp:kornevma into develop
Reviewed-on: UNN/2026-rff_mp#87
2026-02-21 10:55:06 +00:00
dd3b126d62 Merge pull request '[0] initial commit' (#85) from agapovads/2026-rff_mp:agapovads into develop
Reviewed-on: UNN/2026-rff_mp#85
2026-02-21 10:53:01 +00:00
048b211945 Merge pull request '[0] initial commit' (#84) from nehoroshevaa/2026-rff_mp:nehoroshevaa into develop
Reviewed-on: UNN/2026-rff_mp#84
2026-02-21 10:51:40 +00:00
6d05295507 Merge pull request '[0] initial commit' (#81) from anikinvd/2026-rff_mp:anikinvd into develop
Reviewed-on: UNN/2026-rff_mp#81
2026-02-21 10:50:19 +00:00
55d8ed29c6 Merge pull request '[0] initial commit' (#80) from meosyam/2026-rff_mp:meosyam into develop
Reviewed-on: UNN/2026-rff_mp#80
2026-02-21 10:49:39 +00:00
af2d62a446 Merge pull request '[0] initial commit' (#79) from novikovsd/2026-rff_mp:novikovsd into develop
Reviewed-on: UNN/2026-rff_mp#79
2026-02-21 10:49:22 +00:00
fe5a8bea89 Merge pull request '[0] initial commit' (#77) from duznb/2026-rff_mp:duznb into develop
Reviewed-on: UNN/2026-rff_mp#77
2026-02-21 10:49:12 +00:00
Волков Илья М
8fb5738b50 [0] initial commit 2026-02-21 13:48:49 +03:00
b4b3140603 Merge pull request '[0] initial commit' (#75) from volkovim/2026-rff_mp:volkovim into develop
Reviewed-on: UNN/2026-rff_mp#75
2026-02-21 10:39:17 +00:00
Новиков Семён Д
90503c7b92 [0] initial commit 2026-02-21 13:39:09 +03:00
Аникин Владислав Д
bcde039ddd [0] initial commit 2026-02-21 13:38:46 +03:00
ddc6d9b877 [0] initial commit 2026-02-21 13:36:14 +03:00
e1e08990e0 [0] initial commit 2026-02-21 13:36:01 +03:00
Агапова Дарина С
fe50036baf [0] initial commit 2026-02-21 13:35:45 +03:00
123
8f2e46907f [0] initial commit 2026-02-21 13:35:11 +03:00
Шекуров Алексей А
afa3504609 [0] initial commit 2026-02-21 13:34:52 +03:00
Корнев Макар А
ccb7c7a5da [0] initial commit 2026-02-21 13:32:10 +03:00
Волков Илья М
6ef4820d9e [0] initial commit 2026-02-21 13:21:07 +03:00
c3131ce0f6 Merge pull request '[0] initial commit' (#74) from shahovaa/2026-rff_mp:shahovaa into develop
Reviewed-on: UNN/2026-rff_mp#74
2026-02-21 10:04:35 +00:00
8a523c9afb Merge pull request '[0] initial commit' (#72) from DerbenevRY/2026-rff_mp:DerbenevRY into develop
Reviewed-on: UNN/2026-rff_mp#72
2026-02-21 09:59:00 +00:00
e8ea43f9b3 [0] initial commit 2026-02-21 12:51:56 +03:00
Alex
57c8ef048f Remove .DS_Store and add to gitignore 2026-02-21 12:45:34 +03:00
c774f9182a Merge pull request '[0] initial commit' (#70) from volkovva/2026-rff_mp:VolkovVA into develop
Reviewed-on: UNN/2026-rff_mp#70
2026-02-21 09:42:58 +00:00
194d822b62 [0] initial commit 2026-02-21 11:27:54 +03:00
Alex
589787851b [0] initial commit 2026-02-21 11:09:51 +03:00
b34b2b76c8 Merge pull request '[0] initial commit' (#56) from soldatkinao/2026-rff_mp:soldatkinao into develop
Reviewed-on: UNN/2026-rff_mp#56
2026-02-21 05:38:35 +00:00
46f73eaa47 Merge pull request '[0] initial commit' (#57) from konnovaea/2026-rff_mp:konnovaea into develop
Reviewed-on: UNN/2026-rff_mp#57
2026-02-21 05:38:16 +00:00
5eab591f1a Merge pull request '[0] initial commit' (#58) from chizhikovasm/2026-rff_mp:chizhikovaSM into develop
Reviewed-on: UNN/2026-rff_mp#58
2026-02-21 05:38:07 +00:00
768a06fbb6 Merge pull request '[0] initial commit' (#59) from krasnovia/2026-rff_mp:krasnovia into develop
Reviewed-on: UNN/2026-rff_mp#59
2026-02-21 05:37:59 +00:00
141bb2bbb5 Merge pull request '[0] initial commit' (#60) from zaharoves/2026-rff_mp:zaharoves into develop
Reviewed-on: UNN/2026-rff_mp#60
2026-02-21 05:37:50 +00:00
f7b4f75488 Merge pull request '[0] initial commit' (#61) from zverevem/2026-rff_mp:zverevem into develop
Reviewed-on: UNN/2026-rff_mp#61
2026-02-21 05:37:42 +00:00
802b72d10b Merge pull request '[0] initial commit' (#62) from shalovsa/2026-rff_mp:shalovsa into develop
Reviewed-on: UNN/2026-rff_mp#62
2026-02-21 05:37:33 +00:00
0cd1012949 Merge pull request '[0] initial commit' (#63) from zelentsovav/2026-rff_mp:ZelentsovAV into develop
Reviewed-on: UNN/2026-rff_mp#63
2026-02-21 05:37:24 +00:00
6b2f019b11 Merge pull request '[0] initial commit' (#64) from yanyaevaa/2026-rff_mp:YanyaevAA into develop
Reviewed-on: UNN/2026-rff_mp#64
2026-02-21 05:37:16 +00:00
5964cc81ab Merge pull request '[0] initial commit' (#65) from musinaa/2026-rff_mp:MusinAA into develop
Reviewed-on: UNN/2026-rff_mp#65
2026-02-21 05:37:08 +00:00
9f395a7b9a Merge pull request '[0] initial commit' (#66) from Andrey/2026-rff_mp:YaroslavtsevAS into develop
Reviewed-on: UNN/2026-rff_mp#66
2026-02-21 05:36:48 +00:00
362b487266 Merge branch 'develop' into YaroslavtsevAS 2026-02-21 05:36:41 +00:00
8a4eb2ab7b Merge pull request '[0] initial commit' (#67) from solovevds/2026-rff_mp:SolovevDS into develop
Reviewed-on: UNN/2026-rff_mp#67
2026-02-21 05:36:32 +00:00
cc5764f86a Merge pull request '[0] initial commit' (#68) from stepinim/2026-rff_mp:stepinim into develop
Reviewed-on: UNN/2026-rff_mp#68
2026-02-21 05:36:02 +00:00
c276d52949 Merge pull request '[0] initial commit' (#69) from MashinDD/2026-rff_mp:MashinDD into develop
Reviewed-on: UNN/2026-rff_mp#69
2026-02-21 05:35:47 +00:00
a40c5f579a [0] initial commit 2026-02-20 23:36:56 +03:00
2ea1b50bc7 [0] initial commit 2026-02-20 22:50:08 +03:00
d5450e0063 [0] initial commit 2026-02-20 22:32:31 +03:00
b35fa6725b [0] initial commit 2026-02-20 21:28:01 +03:00
de62717491 [0] initial commit 2026-02-20 19:59:41 +03:00
902ad5ef53 [0] initial commit 2026-02-20 19:58:35 +03:00
oSTEVEo
343a06519a [0] initial commit 2026-02-20 19:58:28 +03:00
a2621ad508 [0] initial commit 2026-02-20 18:37:49 +03:00
95f3cd28df [0] initial commit' 2026-02-20 18:25:52 +03:00
57adafbebd [0] initial commit 2026-02-20 18:23:20 +03:00
shalovsa
b881e05410 [0] initial commit 2026-02-20 18:22:42 +03:00
d33fd62603 [0] initial commit 2026-02-20 16:55:58 +03:00
e5733fd15d [0] initial commit 2026-02-19 16:52:52 +03:00
8dff4985b9 [0] initial commit 2026-02-19 12:46:18 +03:00
aca0eb0c84 Добавлен файл группы 427 для Погодин 2026-02-14 00:56:21 +03:00
65 changed files with 165 additions and 2 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ __pycache__/
# C extensions
*.so
.DS_Store
# Distribution / packaging
.Python
build/

0
BolonkinNM/426.md Normal file
View File

0
BorisovMI/429.md Normal file
View File

0
DerbenevRY/428.md Normal file
View File

1
Ezhovnd/425.md Normal file
View File

@ -0,0 +1 @@
hi

0
GorkinMM/425.md Normal file
View File

0
GutovVM/428b.md Normal file
View File

0
KolbasovPD/425.md Normal file
View File

0
KorotkinSE/428b.md Normal file
View File

0
KuznetsovMA/429.txt Normal file
View File

1
KuznetsovYuM/428.md Normal file
View File

@ -0,0 +1 @@
428

0
LarikovaAA/428b.md Normal file
View File

0
LukovnikovDE/428.md Normal file
View File

0
MarkinAM/428b.md Normal file
View File

0
MashinDD/429.txt Normal file
View File

0
MochalovAE/426.txt Normal file
View File

0
MusinAA/428b.md Normal file
View File

147
README.md
View File

@ -16,7 +16,7 @@
### Крайний срок приема работ 25.05.2026 до 14:00
## Задание 1 -- репозиторий [отдельный срок на создание PR с папкой: 28.02.2026]
## Задание 0 -- репозиторий [отдельный срок на создание PR с папкой: 28.02.2026]
0. Создай пользователя (логин — фамилия+инициалы слитно транслитом, как в терминал-классе).
@ -53,4 +53,147 @@
- Базовая ветка: **develop**
- Сравниваемая ветка: **свой форк / IvanovII**
8. Отправь PR.
8. Отправь PR.
## Задание 1 -- структуры данных
***Напоминание: под каждое задание вы создаете отдельную ветку***
>Для оформления результатов заведи папку **docs** в своей папке и сохраняй туда отчет (в любом формате от .doc до .md, а то и .jpnb). Вспомогательные файлы клади в подпапку **data** внутри **docs**
**Цель работы**
Реализовать три различные структуры данных «с нуля», применить их для хранения записей телефонного справочника и экспериментально сравнить производительность основных операций. Вы должны собственными руками написать код, чтобы понять внутреннее устройство связного списка, хеш-таблицы и двоичного дерева поиска, а также осознать их сильные и слабые стороны на практике.
**!! Задание выполнять в структурной (процедурной) парадигме, не используя классы. Главное реализовать структуры данных «руками» и сравнить их производительность.**
### Базовые операции (обязательны для всех):
`insert(name, phone)` -- добавить или обновить запись.
`find(name)` -- phone или None.
`delete(name)` -- удалить запись, игнорировать отсутствие.
`list_all()` -- список всех записей, отсортированный по имени (для BST inorder обход; для списка и хеш‑таблицы — собрать и отсортировать явно).
#### 1. Связный список (LinkedListPhoneBook)
Узел представляется словарём: `{'name': 'Имя', 'phone': '123', 'next': None}.`
**Функции:**
`def ll_insert(head, name, phone)` — проходит до конца (или сразу добавляет в конец) и возвращает новую голову (если вставка в начало) или изменяет список по ссылке. Удобнее возвращать новую голову, если вставка может быть в начало.
`def ll_find(head, name)` — ищет узел, возвращает телефон или None.
`def ll_delete(head, name)` — удаляет узел, возвращает новую голову.
`def ll_list_all(head)` — собирает все записи в список и сортирует (сортировка вынесена отдельно).
#### 2. Хеш-таблица
Хранится как список buckets фиксированной длины, каждый элемент — голова связного списка (или None).
**Функции:**
`def ht_insert(buckets, name, phone)` — вычисляет индекс, вызывает ll_insert для соответствующего бакета.
Аналогично `ht_find, ht_delete, ht_list_all` (последняя собирает все записи из всех бакетов и сортирует).
#### 3. Двоичное дерево поиска
Узел — словарь: `{'name': 'Имя', 'phone': '123', 'left': None, 'right': None}.`
**Функции:**
`def bst_insert(root, name, phone)` — рекурсивно или итеративно вставляет, возвращает новый корень (если корень меняется).
`def bst_find(root, name)` — поиск.
`def bst_delete(root, name)` — удаление, возвращает новый корень.
`def bst_list_all(root)` — центрированный обход (рекурсивно собирает записи в отсортированном порядке).
### Экспериментальная часть (подробно об измерении времени)
#### 1. Генерация тестовых данных
Создайте список records из N элементов (например, N = 10000). Каждый элемент — кортеж (name, phone).
Имена генерируйте как `f"User_{i:05d}"` (равномерное распределение) или случайные слова из небольшого набора (чтобы были повторения и коллизии). Для проверки влияния порядка подготовьте два варианта одного и того же набора:
`records_shuffled` — случайный порядок.
`records_sorted` — отсортированный по имени (по алфавиту).
#### 2. Инструменты замера времени
Используйте модуль **time**:
```python
import time
start = time.perf_counter()
# ... операции ...
end = time.perf_counter()
elapsed = end - start # время в секундах
```
Для многократных замеров удобен `timeit`, но в этой задаче достаточно просто обернуть код в цикл и усреднить.
#### 3. Проведение замеров
Для каждой структуры данных и для каждого режима входных данных (случайный / отсортированный) выполните:
- А. Вставка всех записей
Создайте пустую структуру.
Засеките время, выполните insert для каждой записи из входного списка.
Зафиксируйте общее время вставки.
- Б. Поиск 100 случайных записей
Возьмите 100 случайных имён из того же набора (гарантированно существующих) и 10 имён, которых нет (например, "None_{i}").
Засеките время на выполнение всех 110 вызовов find.
- В. Удаление 50 случайных записей
Выберите 50 случайных имён из набора.
Засеките время на выполнение delete для каждого.
**!! Важно: после вставки структура остаётся заполненной, поиск и удаление выполняются на ней же. Если нужно повторить замер для другого порядка данных — создавайте новую структуру и заполняйте заново.**
#### 4. Сохранение результатов
**!! Каждый эксперимент повторить минимум 5 раз и записывать и среднее время, и все замеры.**
Соберите все замеры в словарь или список, затем сохраните в CSV-файл:
```python
import csv
results = [
["Структура", "Режим", "Операция", "Время (сек)"],
["LinkedList", "случайный", "вставка", 0.123],
...
]
with open("results.csv", "w", newline="") as f:
writer = csv.writer(f)
writer.writerows(results)
```
#### 5. Анализ результатов
Постройте график (столбчатая диаграмма или линейный график) — можно в Excel, Google Sheets или с помощью matplotlib в Python.
Сравните:
- Как порядок входных данных влияет на скорость вставки в BST (деградация до O(n) на отсортированных данных).
- Почему хеш-таблица почти не чувствительна к порядку.
- Почему связный список всегда медленен при поиске.
- Как удаление работает в каждой структуре.
* Вывод должен содержать ответ на вопрос: какую структуру и для каких задач (частые вставки, частый поиск, необходимость получать данные в порядке) стоит выбирать в реальной жизни.*

0
ShulpinIN/428.md Normal file
View File

0
SobolevNS/426 Normal file
View File

0
SokolovEN/426 Normal file
View File

0
SokolovNE/428b.md.txt Normal file
View File

0
SolovevDD/425.md Normal file
View File

0
SolovevDS/428b.md Normal file
View File

1
SorokinAD/428.md Normal file
View File

@ -0,0 +1 @@
1

0
VildyaevAV/426 Normal file
View File

0
VolkovVA/428b.md Normal file
View File

0
YanyaevAA/428b.md Normal file
View File

1
YaroslavtsevAS/428.md Normal file
View File

@ -0,0 +1 @@
428

0
ZelentsovAV/428b.md Normal file
View File

0
ZhuravlevDV/425.txt Normal file
View File

0
agafonovdm/425.txt Normal file
View File

0
anikinvd/428.md Normal file
View File

0
chizhikovaSM/428.md Normal file
View File

0
duznb/429.md.txt Normal file
View File

0
famutdinovmd/428b.md Normal file
View File

0
fomichevks/426.md.txt Normal file
View File

0
groshevava/426.md.txt Normal file
View File

1
konnovaea/429 Normal file
View File

@ -0,0 +1 @@
429

0
kornevma/426.md Normal file
View File

0
krasnovia/429.txt Normal file
View File

1
kuznetsovTD/428b.md Normal file
View File

@ -0,0 +1 @@
428b.md

0
meosyam/428.md.txt Normal file
View File

1
nehoroshevaa/428b.md Normal file
View File

@ -0,0 +1 @@
428b

0
nikitovie/425.txt Normal file
View File

0
novikovsd/428 Normal file
View File

0
petryaninyas/426.md Normal file
View File

0
pogodinda/427.md.txt Normal file
View File

BIN
raskatovia/429.md Normal file

Binary file not shown.

1
rybakovaa/428b.md Normal file
View File

@ -0,0 +1 @@
428b

0
semyanovra/426.md Normal file
View File

0
shahovaa/429.md Normal file
View File

0
shalovsa/429.txt Normal file
View File

0
shapovalovka/425.txt Normal file
View File

0
shekurovaa/429.md Normal file
View File

0
smirnovad/429.md Normal file
View File

6
sobininaas/429.rtf Normal file
View File

@ -0,0 +1,6 @@
{\rtf1\ansi\ansicpg1251\cocoartf2761
\cocoatextscaling0\cocoaplatform0{\fonttbl}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
}

1
soldatkinao/428б.md Normal file
View File

@ -0,0 +1 @@
<EFBFBD>¥¦¨¬ ¢כ¢®₪  ×®¬ ­₪ ­  ם×א ­ (ECHO) ¢×«מח¥­.

1
soninrv/428.md Normal file
View File

@ -0,0 +1 @@

0
starikovta/426.md Normal file
View File

0
stepinim/428.md Normal file
View File

1
volkovim/428b.md Normal file
View File

@ -0,0 +1 @@
428b

1
zaharoves/429.md Normal file
View File

@ -0,0 +1 @@

1
zhigalovrd/425.txt Normal file
View File

@ -0,0 +1 @@
ыфыв

0
zverevem/429.txt Normal file
View File