Separate the Numbers HackerRank Solution

preview_player
Показать описание
separate the Numbers hackerrank solution : In this video, I have solved hackerrank Separate the Numbers problem in an easy way.

This hackerrank problem is a part of Practice | Algorithms | Strings | Separate the Numbers hackerrank challenge.

For simplicity, I have divided this hackerrank tutorial into 3 parts.
[00:00] Understanding the problem statement.
[07:31] Building the logic to solve the problem.
[17:04] Coding the logic using java (you can use your own preferred programming language).

✚ Join our community ►

📖 Resources ►

✅ Recommended playlists ►

📖 TOP 10 LEARNING RESOURCES

👋 Let’s Connect ►

#JAVAAID #separatethenumbers #HackerRankSolutions #HackerRankTutorials #HackerRank #JavaAidTutorials #programming #DataStructures #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #KanahaiyaGupta #hackerrankchallenges #strings
Рекомендации по теме
Комментарии
Автор

Hey Every one,
If you find this tutorial helpful, please do not forget to like, comment, share
and It would be great if you can leave your feedback about the tutorial, as I have put a lot of hard work to make things easy for you.
Thanks ..!!

JavaAidTutorials
Автор

I really got complicated with this problem, after solving it. I'm glad to find a more elegant solution. thank you

zoserquenaya
Автор

Good improvement in the quality of tutorials over past months ...
Keep it up friend !!

anirbandebnath
Автор

This particular problem shouldn't be classified as easy at all!

srinivasasowmiyan
Автор

Hi Kanhaiya, whenever I need help I visit your channel because the explanation is so simple that I can catch easily. Keep going buddy..!! 🙌🙌✌️✌️

badarikrishna
Автор

its great video, after all, we need to know logic building of the problem and your discussed well.

ankitbishwas
Автор

Very inspiring and great work. Keep going

KaushalJainKaushalRameshJain
Автор

Understandable video sir... Can u please display full ecclipse window so we can see that program also ....so we can run in ecclipse also

ramyabl
Автор

Great Tutorial Sir!!
I have a doubt; if the length of string s is at max 32(given in ques.) then, in the outer loop for the condition " i <= s.length()/2 " we can have value of i (at max) with 16 digits(32 / 2), which is above the limit of integer. Can you please tell me how it works? Although the code is working fine. Thanks!

siddhantrawat
Автор

I partially understood the question and stuck. Later searched every link in google for answer. I opened your video casually and my dear brother am very much happy my choice of choosing gave me the best ever approach for a problem which I stuck. You won a whole hearted subscriber.

anilkumar-ykuz
Автор

Hello jaavid, I'm so happy that I could find some easy solution here of hacker rank. But I really wanted to know the real scenario of hacker rank and are really companies accepting the good score and giving opportunity?
And in which country there are more opportunities. I request you this.

surekham
Автор

Hey Kanhaiya,
What was the time and space complexity for this approach?

shivagitam
Автор

simple java solution
public static String check(String s)
{
int n=s.length();
if(n==0 || n==1) return "NO";

for(int i=0 ; i<n/2 ;i++)
{
long val=Long.parseLong( s.substring(0, i+1));
long temp=val;
StringBuilder buff = new StringBuilder(n);
while(buff.length()<n)
{
buff.append(val++);
}

{
return "YES "+temp;
}
}
return "NO";
}

pradeepmondal
Автор

One minor recommendation
If you could get rid of the IDE and show the program snippet in the canvas.

anirbandebnath
Автор

thank you sir, for your great explaination

pradeepmondal
Автор

I am very weak in coding . When i open hackerrank i do not understand anything sir. Can you suggest me from where i can start?

sanandapodder
Автор

How did you approach the solution. How long you took Brilliant

sureshbobby
Автор

Exception in thread "main" For input string: ""
at
at
at
at
at

saketjoshi
Автор

I wrote this logic in C++, the code doesn't succeed for all test cases provided in hackerrank.

vinaya
Автор

My IQ was too low to figure this out alone.. I'm dissappointed ..

exe.mdnght
join shbcf.ru