Plus one Leetcode problem number 66 Solution in JAVA JAVA interview programming playlist: • Interview Programming ... Linkedin: / amrita-bala-a2b79460 #java #interviewquestions #leetcode
Пікірлер: 35
@dhruvavishwakarma25329 күн бұрын
Why are you not solving in Leetcode , In Leetcode this code didn't pass all test cases
@richiecarrasco42355 ай бұрын
I love the way you explain these problems. thank you
@ashwinnair10359 ай бұрын
Great explanation please continue this series its really helpful
@mayanknagar252611 ай бұрын
Thanks for making this video
@SudharsanAshwin-pf3oq10 ай бұрын
What is the time and space complexity of this solution
@divyarathi4739 Жыл бұрын
while input is 0 it is giving [1,0] it should only give [1]
@TechnosageLearning Жыл бұрын
Hi...its returning 1 only...Please take the code from git and try it out..
@7smessi8034 ай бұрын
Super logic🎉
@rajeshcr9800 Жыл бұрын
hi, what is the meaning of dig[i]++; how it work.. can we written in any different way dig[i]= dig[i+1]; Thanks Rajesh
@kapilpachori2208 Жыл бұрын
Hey i want to know how you have mastered logic building i am a beginner and making logic of a particular problem takes a lot of time and sometimes even not getting the logic of a question at all plz give some tips.
@TechnosageLearning Жыл бұрын
Hi It takes some time..Please continue your practice.. since you are a beginner, you can watch the solution and then solve yourself again ..when you will keep on practicing...you will get to know that same logics will repeat in multiple problems....and it ll start clicking automatically when you will see the problem..
@kapilpachori2208 Жыл бұрын
@@TechnosageLearning Thanks and beside logic building, what if I learn fundamentals of a particular ds & algo topic and solve leetcode problem of that topic, is this the optimal way of learning ds & algo
@TechnosageLearning Жыл бұрын
Yeah..You can do that way also..Or may be solve the problems and keep learning the logics...So that you will cover all topics as well as problems...
@ashwinnair10359 ай бұрын
github repo link?
@user-bi9ip5hv3l Жыл бұрын
Amazing....you think way too straight ahead... If I show you my attempt, you will laugh 🙂...thnx...
@Set_Goals9632 ай бұрын
it cannot work on array {0) plz correct code
@KRajesh-ej7dy Жыл бұрын
Amrutha why u r writing
@TechnosageLearning Жыл бұрын
less than 9 condition makes it very simple..Listen the video again and try..You will definitely understand the conditions
@KiranMB-yl1xl4 ай бұрын
what if [9,9]
@Aditya26-y2iАй бұрын
Let's see
@user-eo5lm3xz5p4 ай бұрын
can we have 3 sum leet code solution
@sayanmoulick530710 ай бұрын
what about the cases of {9, 9} or {9,....,9} ?
@TechnosageLearning10 ай бұрын
Hi..It will return the output as {1,0,0,0,0,0} which is correct output
@user-ic7du1vw4b9 ай бұрын
Kindly please tell me why you have converted this array into String type😅
@OnstreamGaming3 ай бұрын
so that you can print an array without running a loop
@probeast26710 ай бұрын
didi yaar logics nahi ban rahe kya karu pls help karo itne easy questions ke logic bhi nahi soch pa raha
@TechnosageLearning10 ай бұрын
Keep solving more and more problems...ek din logics apne aap dimag me aane lagenge jab bht sari problems solve krne se bht sari approaches pta lag jayengi
@SravanKumar-cy8pp Жыл бұрын
Amruta I need string programs
@TechnosageLearning Жыл бұрын
Leetcode string programs?? Or any String programming questions??
@SravanKumar-cy8pp Жыл бұрын
Any string program s
@TechnosageLearning Жыл бұрын
Strings Programming Questions: kzbin.info/aero/PLjOcsOwEjb135TKtYNgd08hnioIV-C1rR Here are few string programming questions..you can check it out. Working on more programs, Will upload soon.. Stay connected. Thanks!
@user-bl1gg1ff1q5 ай бұрын
import java.util.*; class Main { public static void main (String [] args){ int []nums={1,1,9}; System.out.print(Arrays.toString(plusOne(nums))) ; } public static int[] plusOne(int[] digits) { int n=digits.length; for(int i=digits.length-1;i>=0;i--){ if(digits[i]
@Rahulkumar-xb7so11 ай бұрын
99 pe galt ans ayega
@TechnosageLearning10 ай бұрын
Nhi ayega galat ans..It will return {1,0,0} which is a correct output! Thanks!