15,894,955 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Akash Tawade (Top 19 by date)
Akash Tawade
24-Oct-19 4:11am
View
I tried my best....i tried lots of thing....but it is HARD level problem from hackerrank.....I am student....this question is beyond my knowledge...that why i post here.
Akash Tawade
24-Oct-19 4:10am
View
There ((ab)|(ba)) is a regular expression.....and 2 is fixed length of that string...we have to find count of matched length from regular expression and fixed length of string
Akash Tawade
18-Oct-19 2:27am
View
OK..Now I Understood.
Akash Tawade
17-Oct-19 14:56pm
View
@JSOP is BigNumber is special library function for javascript ?
Akash Tawade
17-Oct-19 14:54pm
View
Deleted
is BigNumber is speacial library in javascript ?
Akash Tawade
17-Oct-19 14:51pm
View
Deleted
@OriginalGriff can you explain this why they use compredTo() method here which is not present in javascript ?
Akash Tawade
5-Jul-19 4:20am
View
I don't understand how to find where that error occur.....but this error shown in localhost browser
Akash Tawade
5-Jul-19 4:19am
View
"Cannot GET /employees".........This is exact error..
Akash Tawade
4-Jul-19 1:48am
View
"Not Working" means its showing error like cannot get for get API or cannot post for post API in my localhost
Akash Tawade
11-May-19 14:33pm
View
ya...now its working...i switched python version to older version.....now its working nicely....thank you.
Akash Tawade
11-May-19 11:22am
View
It can't showing version of Pyaudio.....it says again same error
Akash Tawade
6-May-19 0:50am
View
I Installed pyaudio as pip install pyaudio command....but after installing it say it already install and again that error comes as "Please build and install the PortAudio Python bindings first".....
I don't know what to do....what is the solution
Akash Tawade
4-May-19 16:18pm
View
Its not working....
Akash Tawade
4-May-19 16:18pm
View
Deleted
its not working..
Akash Tawade
8-Dec-18 7:31am
View
public class Prob_4
{
public static void main(String[] args)
{
int product = 0;
int rev = 0;
int max_product = 0;
int r;
for(int i=100;i<=999;i++)
{
//int j = i;
for(int j=100;j<=999;j++)
{
product = i * j;
System.out.println(product + " " + i + " " + j);
if(product < max_product)
{
break;
}
int number = product;
while(number != 0)
{
r = number % 10;
rev = (rev * 10) + r;
number = number/10;
}
System.out.println(rev);
if(product == rev && product > max_product)
{
max_product = product;
}
}
}
System.out.println(max_product);
}
}
I checked my "rev" value its geting weird......what is wrong in reverse logic ?
Akash Tawade
8-Dec-18 7:17am
View
public class Prob_4
{
public static void main(String[] args)
{
int product = 0;
int rev = 0;
int max_product = 0;
int r;
for(int i=100;i<=999;i++)
{
int j = i;
product = i * j;
System.out.println(product + " " + i + " " + j);
if(product < max_product)
{
break;
}
int number = product;
while(number > 0)
{
r = number % 10;
rev = (rev * 10) + r;
number = number/10;
}
if(product == rev && product > max_product)
{
max_product = product;
}
}
System.out.println(max_product);
}
}
Give same ouput as 0.
Akash Tawade
8-Dec-18 6:43am
View
I found same result in largest to smallest also...
Akash Tawade
26-Nov-18 8:21am
View
Thank you @DanielPfeffer
Akash Tawade
22-Nov-18 7:54am
View
Perfect solution Thank you very much @CPallini
Show More