Code Monkey home page Code Monkey logo

Comments (15)

friendlynihilist avatar friendlynihilist commented on June 13, 2024 2

algorithms3a
algorithms3b
I'm not sure about the graphical representation of recursion in the second flowchart!

I think you need to add two ending terminals! Love you anyway. 💃

from 2018-2019.

mangiafrangette avatar mangiafrangette commented on June 13, 2024 1

algorithms3a

algorithms3b

I'm not sure about the graphical representation of recursion in the second flowchart!

EDIT: added the ending terminals

from 2018-2019.

EleonoraPeruch avatar EleonoraPeruch commented on June 13, 2024 1

algorithms-exercise 3a

algorithms-exercise 3b

from 2018-2019.

MattiaSpadoni avatar MattiaSpadoni commented on June 13, 2024

I try, but I'm not so sure about something.
Ah, above the line there is the first algorith, under the line the second.

P.S. I've forgotten some "no" along the flowchart

diagram ex 3

from 2018-2019.

friendlynihilist avatar friendlynihilist commented on June 13, 2024

I'll come back later to add other solutions that I was thinking of.
fibonacci1 2

from 2018-2019.

simayguzel avatar simayguzel commented on June 13, 2024

untitled diagram

from 2018-2019.

lisasiurina avatar lisasiurina commented on June 13, 2024

untitled diagram 1

from 2018-2019.

MilenaCorbellini avatar MilenaCorbellini commented on June 13, 2024

untitled diagram
diagram 2

from 2018-2019.

delfimpandiani avatar delfimpandiani commented on June 13, 2024

Curious to hear what you guys think of this first way, making the algorithm save f(0) and f(1) to later retrieve them:
fibonacci 2

and then a, b, c way similar to others'
fibonacci 1

from 2018-2019.

Ioanna96 avatar Ioanna96 commented on June 13, 2024

untitled diagram 2
untitled diagram 1

from 2018-2019.

andreamust avatar andreamust commented on June 13, 2024

untitled diagram 2

from 2018-2019.

SeverinJB avatar SeverinJB commented on June 13, 2024

algorithms_exercise_3a

It is necessary to define f before addressing the function. Here: Fib(int n)
algorithms_exercise_3b 1

Sidenote:
The second paragraph was difficult to understand because it is not clear what "the same function" means.

from 2018-2019.

ilsamoano avatar ilsamoano commented on June 13, 2024

3 issue flowchart 1
3 issue flowchart 2

from 2018-2019.

tceron avatar tceron commented on June 13, 2024

function f1

Applying recursion:
function f2

from 2018-2019.

essepuntato avatar essepuntato commented on June 13, 2024

Hi all,

thanks for all the proposed solutions, that look correct to a first sight. Indeed, representing the recursive step with a flowchart could be tricky, but I really liked the simplicity of the approach that have been proposed in your diagrams.

from 2018-2019.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.