Skip to main content
Code Review

Return to Question

Question Protected by Community Bot
edited tags
Link
200_success
  • 145.5k
  • 22
  • 190
  • 479
Tweeted twitter.com/#!/StackCodeReview/status/602885588434452482
deleted 15 characters in body
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Code

I am seeing that this is actually not in accord with the difficulty level said there. Firstly I cannot list all possible improvements it could have.

Output:

Answer is 906609
Time taken 2.82342934 seconds

Output:

Answer is 906609
Time taken 2.82342934 seconds

I am seeing that this is actually not in accord with the difficulty level said there. Firstly I cannot list all possible improvements it could have, so if you have any improvement help me. Current problems (not exhaustive):

Current problems (not exhaustive):

  • Time
  • \${\mathcal O}(n^2)\$ where \$n=999\$ for looping only.
  • Length checking-checking method.
  • Checking Palindrome.palindrome
  • Digit Finding Method.-finding method

Code

Output:

Answer is 906609
Time taken 2.82342934 seconds

I am seeing that this is actually not in accord with the difficulty level said there. Firstly I cannot list all possible improvements it could have, so if you have any improvement help me. Current problems (not exhaustive):

  • Time
  • \${\mathcal O}(n^2)\$ where \$n=999\$ for looping only.
  • Length checking method.
  • Checking Palindrome.
  • Digit Finding Method.

I am seeing that this is actually not in accord with the difficulty level said there. Firstly I cannot list all possible improvements it could have.

Output:

Answer is 906609
Time taken 2.82342934 seconds

Current problems (not exhaustive):

  • Time
  • \${\mathcal O}(n^2)\$ where \$n=999\$ for looping only.
  • Length-checking method
  • Checking palindrome
  • Digit-finding method
edited tags
Link
janos
  • 112.9k
  • 15
  • 154
  • 396
Source Link
RE60K
  • 1.5k
  • 2
  • 11
  • 27
Loading
lang-java

AltStyle によって変換されたページ (->オリジナル) /