Skip to content

TheUnbreakableAlliance/TheUnbreakableAlliance-lab2-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheUnbreakableAlliance-lab2-2

This is lab2 report.

Variant

(2) Dynamic array

Project structure

  • Dynamic_array.py -- implementation of Dynamic_array class with Add_a_new_elementRemove etc.
  • Dynamic_array_test.py -- unit and PBT tests for Dynamic_array.

Features

  • 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( )

Contribution

Changelog

  • Fan Yuxin uploaded Dynamic_array_test.py.
  • 10.05.2022 - 1
  • Wen Wenchao uploaded Dynamic_array.py.
  • 10.05.2022 - 0
    • Initial

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages