Πίνακας τιμών με αναδρομή(Απορία)

Ξεκίνησε από nikolasmer, 07 Απρ 2013, 11:50:15 ΠΜ

« προηγούμενο - επόμενο »

nikolasmer

Ξέρω πως το θέμα της αναδρομής είναι εκτός ύλης αλλά έχω την απορία του πώς θα μπορούσε να γίνει ο πίνακας τιμών σε άσκηση που χρησιμοποιούσε αναδρομή. Θα είχαμε κάθε κλήση και θα μεταβάλονταν οι τιμές σε διαφορετικές στήλες ή στην ίδια στήλη του πίνακα;  :-\
Μερεντίτης Νικόλαος
Πληροφορικός

dpa2006

Θα μπορούσες να τα αποθηκεύεις σε πίνακα και να τα ξαναχρησιμοποιείς για να αποφύγεις νέο υπολογισμό τους.
Computer science (abbreviated CS or CompSci) is the scientific and practical approach to computation and its applications. It is the systematic study of the feasibility, structure, expression, and mechanization of the methodical processes (or algorithms) that underlie the acquisition, representation, processing, storage, communication of, and access to information, whether such information is encoded in bits and bytes in a computer memory or transcribed engines and protein structures in a human cell.source:http://en.wikipedia.org/wiki/Computer_science