14,332,309 members

# Java

 Re: how to start learning java Richard MacCutchan28-May-18 22:16 Richard MacCutchan 28-May-18 22:16
 Need help choosing test API Member 1384132023-May-18 8:37 Member 13841320 23-May-18 8:37
 Re: Error in Integer mode Richard MacCutchan10-May-18 1:16 Richard MacCutchan 10-May-18 1:16
 Re: Error in Integer mode Richard Deeming10-May-18 1:26 Richard Deeming 10-May-18 1:26
 Re: Error in Integer mode Richard MacCutchan10-May-18 1:27 Richard MacCutchan 10-May-18 1:27
 Halp please? Dice roll game. Gril13376-May-18 7:01 Gril1337 6-May-18 7:01
 Re: Halp please? Dice roll game. Richard MacCutchan6-May-18 21:52 Richard MacCutchan 6-May-18 21:52
 Solving symmetric tree problem by recursive solution ElenaRez6-May-18 6:52 ElenaRez 6-May-18 6:52
 Hi. For the question below I wrote a code which you can see and it has an unknown error. I appreciate if someone can tell me where the problem is. Thanks. Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). ```class Solution { public boolean isSymmetric(TreeNode root) { boolean flag = false; if (root == null) return true; if(root.left == root.right != null) flag = twoSymmetric(root.left , root.right); retrun flag; } public boolean twoSymmetric(TreeNode left , TreeNode right){ if (left.left.val == right.right.val != null && left.right.val == right.left.val != null) return twoSymmetric(left.left , right.rigth) && twoSymmetric(left.right , right.left); else return false; } }```
 Re: Solving symmetric tree problem by recursive solution Richard MacCutchan6-May-18 21:44 Richard MacCutchan 6-May-18 21:44
 Deep copy of List<> without knowing specific list type jackbrownii30-Apr-18 10:55 jackbrownii 30-Apr-18 10:55
 Re: Deep copy of List<> without knowing specific list type Manish K. Agarwal27-May-18 21:32 Manish K. Agarwal 27-May-18 21:32
 Student needing assistance while loop Victor McNeal21-Apr-18 9:15 Victor McNeal 21-Apr-18 9:15
 Re: Student needing assistance while loop Richard MacCutchan21-Apr-18 20:56 Richard MacCutchan 21-Apr-18 20:56
 Message Closed 9-Sep-19 23:31 Member 14585837 9-Sep-19 23:31
 Java JUnit test error CHUCHU YAO20-Apr-18 13:23 CHUCHU YAO 20-Apr-18 13:23
 Re: Java JUnit test error Richard MacCutchan20-Apr-18 20:43 Richard MacCutchan 20-Apr-18 20:43
 Re: Java JUnit test error jschell21-Apr-18 6:31 jschell 21-Apr-18 6:31
 Re: Java JUnit test error Richard MacCutchan21-Apr-18 20:58 Richard MacCutchan 21-Apr-18 20:58
 JAVA Swing GUI Invoice - problem with correct actionPerformed Member 1378720218-Apr-18 20:59 Member 13787202 18-Apr-18 20:59
 Re: JAVA Swing GUI Invoice - problem with correct actionPerformed Richard MacCutchan18-Apr-18 21:51 Richard MacCutchan 18-Apr-18 21:51
 Re: JAVA Swing GUI Invoice - problem with correct actionPerformed Member 1378720219-Apr-18 0:54 Member 13787202 19-Apr-18 0:54
 Re: JAVA Swing GUI Invoice - problem with correct actionPerformed Richard MacCutchan19-Apr-18 1:02 Richard MacCutchan 19-Apr-18 1:02
 Re: JAVA Swing GUI Invoice - problem with correct actionPerformed snoopy1118-Apr-18 23:17 snoopy11 18-Apr-18 23:17
 Last Visit: 20-Oct-19 7:26     Last Update: 20-Oct-19 7:26 Refresh « Prev1...12131415161718192021 Next »