StackOverflow Questions for Tag: tail-recursion

A. Rex
A. Rex

Reputation: 32001

How do I check if gcc is performing tail-recursion optimization?

Score: 72

Views: 31787

Answers: 11

Read More
mushroom
mushroom

Reputation: 6289

Tail call optimization with a function returning a tuple

Score: 1

Views: 200

Answers: 3

Read More
borisdiakur
borisdiakur

Reputation: 12122

How does `process.nextTick` keep my stack from blowing up?

Score: 1

Views: 1173

Answers: 1

Read More
Jordan Mack
Jordan Mack

Reputation: 8763

Does Python optimize tail recursion?

Score: 297

Views: 130286

Answers: 8

Read More
Inbar
Inbar

Reputation: 11

ocaml tail-recursive functions

Score: 1

Views: 1045

Answers: 2

Read More
dspyz
dspyz

Reputation: 5524

Verify that an OCaml function is tail-recursive

Score: 12

Views: 3411

Answers: 3

Read More
thevman8928
thevman8928

Reputation: 9

Trying to replicate the elements in a list n times in OCaml

Score: 0

Views: 3041

Answers: 3

Read More
Tamas Ferenci
Tamas Ferenci

Reputation: 658

Optimization of tail recursion in R

Score: 13

Views: 461

Answers: 1

Read More
Arturo Herrero
Arturo Herrero

Reputation: 13140

Tail recursion with Groovy

Score: 7

Views: 3015

Answers: 2

Read More
Роман Полоз
Роман Полоз

Reputation: 13

Will this be a tail call or not?

Score: 1

Views: 113

Answers: 2

Read More
Rishabh Agarwal
Rishabh Agarwal

Reputation: 2172

Tail Call Optimisation in Java

Score: 52

Views: 29326

Answers: 3

Read More
xunzhang
xunzhang

Reputation: 2936

How to modify a recursion to a loop version in this case?

Score: 1

Views: 87

Answers: 1

Read More
hexaquark
hexaquark

Reputation: 941

Tail-recursively, maximum element in a binary tree in OCaml

Score: 1

Views: 1281

Answers: 2

Read More
Jonas Jacob Biermann
Jonas Jacob Biermann

Reputation: 139

Tail-Recursive Binomial Coefficient Function in Java

Score: 0

Views: 101

Answers: 3

Read More
Dave Berk
Dave Berk

Reputation: 1651

How do I know if a function is tail recursive in F#

Score: 17

Views: 3737

Answers: 3

Read More
gizgok
gizgok

Reputation: 7649

Are tail recursion and dynamic programming the same?

Score: 9

Views: 2936

Answers: 4

Read More
Alexander K.
Alexander K.

Reputation: 121

F# foldBack conversion to tail recursive function

Score: 3

Views: 101

Answers: 2

Read More
raisercostin
raisercostin

Reputation: 9209

tail recursive vs iterative algorithms

Score: 12

Views: 6491

Answers: 3

Read More
Alec Jacobson
Alec Jacobson

Reputation: 6274

Can an inline function defined in two separate cpp files create duplicate symbols during linking?

Score: 1

Views: 816

Answers: 1

Read More
Pumpkin
Pumpkin

Reputation: 209

Is such a function structure tail recursive?

Score: 2

Views: 777

Answers: 4

Read More
PreviousPage 1Next