You are not logged in. Please login at to post your questions!


java , recursion problem , threads

I have genuine doubt regarding java.I know that java doesn't support more than 1000 recursive calls at online judge ,it shows error. I commented regarding this before and someone said you can write program that switches over one thread to another and so on, but didn't get such code anywhere .So can anybody Provide me code(proper code to switch over threads),so that i can write recursive programs in java too to get AC? Providing code help will be appreciated.

asked 20 Dec '14, 00:43

n1n1_4's gravatar image

accept rate: 50%

plz Help??

(20 Dec '14, 13:08) n1n1_45★


(21 Dec '14, 14:15) n1n1_45★

I am a complete beginner in Java so I can't help much. However, you may find this link useful:

(21 Dec '14, 15:15) eisenhover3★

Maybe you are talking about Multithreading in java.You can google "Multithreading, it might be helpful to you.


answered 21 Dec '14, 15:45

shubham_coder's gravatar image

accept rate: 6%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 20 Dec '14, 00:43

question was seen: 26,237 times

last updated: 21 Dec '14, 15:45