项目作者: yolandayyu

项目描述 :
Mimics RAM in real computing with functions of fetch and store only
高级语言: Racket
项目地址: git://github.com/yolandayyu/RAM.git
创建时间: 2019-01-19T20:33:28Z
项目社区:https://github.com/yolandayyu/RAM

开源协议:

下载


RAM

Accumulate the sum of a list of numbers using only ram-fetch and ram-store mimicking how RAM works in real life.
With respective run-time of O(n^2), O(n+m) and O(nlogm), where n is the number of elements in the list, and m is the maximum element in the list.