-
经过了上周的动态规划的痛苦之后,本周的内容稍微接受的能快一些。也有可能是大部分习题和作业,覃超老师都在视频中有讲解,所以接收的容易了一些。
感觉本周学习的字典树和并查集会在工程和实际的工作中更会被直接应用到,受益很多。
Trie树代码模板
````
class Trie(object):
def __init__(self):
self.root = {} …
-
### System information
Type | Version/Name
--- | ---
Distribution Name | Ubuntu
Distribution Version | 22.04
Kernel Version | 5.15.0-86-generic
Architecture | x86_64
OpenZFS Version …
rptb1 updated
3 months ago
-
- 这周干劲不足,只有2天按时起床学习了。感觉劲头不如前两周。可能因为最近加班加傻了有点累吧。继续加油,以后的日子,最颓废可能也就现在了!
这周的课都还没看完。
这周内容有:
1. 字典树(trie):
这个挺好理解,实现代码也简单,主要使用场景是用于输入联想,比如搜索引擎,输入几个字符后面就能提示出与之关联的字或词或句子,用于搜索引擎、语法补全,或许还有相关推荐?
…
-
Hi Support,
We already started with LFS and everything went well, but we faced a new and different think in Air Availability.
We sent a Req/Res but the issue is that, in LFS we have AirPricingSo…
-
I'm trying to replicate [this](https://www.youtube.com/watch?v=CuL-qwGIdWI&google_comment_id=z12ztvpxrqqhvpzic04ce1oponm3gvt4vlg0k), but having a bit of trouble...It looks like I have the right code a…
-
| | |
| --- | --- |
| Bugzilla Link | [5174](https://llvm.org/bz5174) |
| Version | trunk |
| OS | All |
| Attachments | [ImmutableMapGVN.diff](https://user-images.githubusercontent.com/60944935/143…
-
# Progress Tracker
## DSA
- [ ] Complete Git & GitHub Course
- [x] Introduction to Programming
- - [x] Types of languages
- - [x] Memory management
- [x] Flow of the program
- -…
-
### Update
The issue has been reopened as it may also be related to #885 and problems with the psh runfile test on ia32-generic-qemu. Currently, I haven't observed it occurring directly in exit tes…
-
As title, AVL tree should do balance when height diff larger than 1. But the code in `immut/sorted_set/immutable_set.mbt` is
```
fn balance[A : Compare](left : T[A], value : A, right : T[A]) -> T[A…
-
Looks like [VT](https://www.virustotal.com/gui/file/bcf54e5c939ffc4bf39c49f8190dd45c36bfc4180a3fdc6e6d7573cf39fd23c3/detection/f-bcf54e5c939ffc4bf39c49f8190dd45c36bfc4180a3fdc6e6d7573cf39fd23c3-172909…