This is lab2 report.
(2) Dynamic array
Dynamic_array.py
-- implementation ofDynamic_array
class withAdd_a_new_element
、Remove
etc.Dynamic_array_test.py
-- unit and PBT tests forDynamic_array
.
- cons(lst, x)
- remove(lst,x)
- leng(lst)
- member(lst,v)
- revese(lst)
- to_list(lst)
- from_list(list)
- find(lst, function)
- filter(lst, function)
- map(lst, increment)
- reduce(lst, sum)
- iterator(lst)
- empty()
- concat(lst1, lst2)
- eq( )
- str( )
- Fan Yuxin ([email protected]) -- Dict_mutable_test.py
- Wen Wenchao([email protected]) -- Dict_mutable.py
- Fan Yuxin uploaded
Dynamic_array_test.py
. - 10.05.2022 - 1
- Wen Wenchao uploaded
Dynamic_array.py
. - 10.05.2022 - 0
- Initial