Search found 32 matches

by maty.tsoraro@gmail.com
Tue Mar 06, 2018 4:44 am
Forum: Help with my program
Topic: recursive method to test if we can get a number n from an array []a
Replies: 2
Views: 67884

recursive method to test if we can get a number n from an array []a

hi please help identify why the program is not running this is the URL link : http://www.beta.browxy.com#USER_159638 and this is the code : public class Test2012{ public static void main(String[]args){ int[]a = {4,5}; if(!Exam2012.isSumOf(a,13)) System.out.println("No solution"); } public class Exam...
by maty.tsoraro@gmail.com
Thu Mar 01, 2018 11:08 pm
Forum: Help with my program
Topic: merging 2 arrays using recursion
Replies: 4
Views: 104486

Re: merging 2 arrays using recursion

hi,
yes it works :)
is there a way we excute it without a for loop in the main ?
by maty.tsoraro@gmail.com
Thu Mar 01, 2018 4:39 am
Forum: Help with my program
Topic: merging 2 arrays using recursion
Replies: 4
Views: 104486

merging 2 arrays using recursion

Hello, i have a recursive method int[]merge(int[]ar1,int[]ar2) that merges 2 arrays (that are already sorted from small to large) to a 3rd array names res. trying to excute it in my program with no luck please help this is the URL link http://www.beta.browxy.com#USER_159157 and this is the program b...
by maty.tsoraro@gmail.com
Mon Feb 26, 2018 2:20 pm
Forum: Help with my program
Topic: how to use the method
Replies: 6
Views: 164895

Re: how to use the method

thank you very much :!:
by maty.tsoraro@gmail.com
Mon Feb 26, 2018 4:39 am
Forum: Help with my program
Topic: how to use the method
Replies: 6
Views: 164895

Re: how to use the method

hi

thanks alot for your help
i do have 2 more questions :)
1)can i use the method printList to print alist,and if so how exactly?
2)i didnt understand how to use <> buttons to copy my code
can you post maybe a clip in the help subject ?

thanks !!
by maty.tsoraro@gmail.com
Sun Feb 25, 2018 11:06 am
Forum: Help with my program
Topic: how to use the method
Replies: 6
Views: 164895

Re: how to use the method

sorry for the spam
this is the URL link
http://www.beta.browxy.com#ALIEN_10615
by maty.tsoraro@gmail.com
Sun Feb 25, 2018 11:04 am
Forum: Help with my program
Topic: how to use the method
Replies: 6
Views: 164895

Re: how to use the method

this is the program... public class Main{ public static void main(String[] args){ printList(5); } } public class IntList{ private IntNode _head; public IntList(){ _head = null } public IntList (IntNode node){ _head = node; } public static boolean isPalindrome(){ int len,count; IntNode p,prev; //No.1...
by maty.tsoraro@gmail.com
Sat Feb 24, 2018 11:32 pm
Forum: Help with my program
Topic: how to use the method
Replies: 6
Views: 164895

how to use the method

Hello ,
this is the URL link
http://www.beta.browxy.com#USER_158259
i want to print a list and detemine if it is palindrom
i have 2 methodes printList & isPalindrom,but i don't know hot to excute them in the main
please help
thanks !