At 14:18 why it can't be j==1 since you showed i==1,j==1,j==i
@PuspenduBiswas-jn2mq3 ай бұрын
@SimplyCoding In this video at 7:41 min you have mentioned that to find middle row and column we use the formula n/2+1 but the formula should be (n+1)/2 for odd number and n/2 for even number.
@Hiarling3 жыл бұрын
Mam please can you also make a DSA playlist🙏🙏...ur teaching way is supebbbb... and simplest...💓🔥
@SimplyCoding3 жыл бұрын
Thanks, yes we have already done a few DSA videos and we will create a playlist for same. Will also finish the remaining videos as well.
@Hiarling3 жыл бұрын
@@SimplyCoding thankyou so much 🙏
@prashant1470 Жыл бұрын
@@SimplyCoding where mam ?? Please give us link . I couldn't find
@MukeshVerma-fv3ed Жыл бұрын
In hollow hill pattern, in second triangle isn't that a diagonal and we can use the formula (i+j==n+1), then why is the formula j==1?
@tsionasmare8243 Жыл бұрын
i also agree with u
@hrushikeshmandekar6572 Жыл бұрын
The reasons behind this is that concept i+j will not work here, just forgot that concept, in easy way I will tell you that, in second triangle see from where j is starting in for loop, its j = 1, so j is going to start always from 1 as we move downwards, means j = 1 is the first element for second triangle at each row, so we can say that j = 1 is making the border for second triangle, so that is why we are checking the first element of 2nd triangle every time in if statement that is j == 1 so that whenever it will come, we will create a star, so likewise the border is created for second triangle. In third triangle look what is making border, that's the last element that is when j == i, so that is why we have taken j == i in if statement of third for loop.
@nishanthulwan14788 ай бұрын
Just one question if you can answer on the last question when you are printing Diagonal why are you doing j == n? it should be i + j == n + 1 right ??
@nishanthulwan14788 ай бұрын
this is for hollow decreasing traingle
@habeebkinlolu9668 Жыл бұрын
i used almost 4 hours trying to solve this in a coding challenge, i didn't even watch this video finish before i understand
@ecostrium8492 жыл бұрын
Thank you.. I was very confused but i m now able to solve problems on my own😄thank you so much.. I was very confused in classes.. But this video help me understand in one go
@aryaneetuhooda6609Ай бұрын
10:05 Couldn't understand this one... 😢
@harshitkushwah69202 жыл бұрын
I have never grasp the concepts in such an easy manner.Thanks ma'am 😊😊☺️☺️
@crazyjose35353 жыл бұрын
Maam many videos are there fr pattern in youtube bt only urs is useful nd understandable Ma'am..thank u so much maam ❤️❤️
@cagla33602 жыл бұрын
never understood patterns until your videos. thank you so much! you saved my life
@karanpandey3753 ай бұрын
Mam we need video on DSA IN JAVA so plz make video's on DSA bcz DSA is on hype so, if u will make vdo on this then u will get more like and subscribe..... Plz make line by line playlist on DSA 🙏🙏 I promised I will give u more subscribers☺️ Plz Plz...
@Entertainment_world_A146813 күн бұрын
Thanks for a good lecture to understand pattern problems easily ❤❤
@akashsahu59377 ай бұрын
hollow decreasing triangle was incorrect , it should be package Loops_in_Java; public class right_downward_triangle_hollow { public static void main(String[] args) { int n = 5; for (int i = 1; i
@muhmmadsaleh31452 жыл бұрын
Hill pattern code is not giving the desired pattern and the diamond pattern also plaease correct it
@SimplyCoding2 жыл бұрын
Can you send your code at info@simplycoding.in so that we can help correct it?
@divyahepzibah7 ай бұрын
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner s=new Scanner(System.in); System.out.println("enter n:"); int n=s.nextInt(); for(int i=1;i
@AnuragKumarPrajapatii6 ай бұрын
actually you are underrated but by god every lecture of bigger channels fail in front of this masterpiece. Thanks for making it easy
@ChandralekaG-p7h Жыл бұрын
Thank you....very well explanation
@hrushikeshmandekar6572 Жыл бұрын
For the one who didn't get why we not used i+j == n+1 in hollow triangle and diamond, note that The reasons behind this is that concept i+j will not work here, just forgot that concept, in easy way I will tell you that, in second triangle see from where j is starting in for loop, its j = 1, so j is going to start always from 1 as we move downwards, means j = 1 is the first element for second triangle at each row, so we can say that j = 1 is making the border for second triangle, so that is why we are checking the first element of 2nd triangle every time in if statement that is j == 1 so that whenever it will come, we will create a star, so likewise the border is created for second triangle. In third triangle look what is making border, that's the last element that is when j == i, so that is why we have taken j == i in if statement of third for loop.
@chandrikaobulasetty694410 ай бұрын
In hollow decreasing triangle why should we took j==n instead of taking j==1 please give me reply and clarify my doubt
@herminjulita924220 күн бұрын
Could you explain once again
@nemoaditi537526 күн бұрын
Maam you have interchange the formulas for diagonals
@eekshitasai2663 Жыл бұрын
Hollow decreasing triangle is it crt or we can write it a if(i=1||j=1||i+j/n+1) I think it is crt code plz reply
@BoobieMistake Жыл бұрын
No, the if condition should be "if (i==1 || j==1 || i+j==(n+1))"
@shreelekham.k.91417 ай бұрын
@@BoobieMistakeyes in video it is incorrect
@sonaliii.50742 ай бұрын
I am not getting a sqare with for(i=1;i
@SimplyCoding2 ай бұрын
The problem is with the space you are printing. Pls put * and a space in first cout and 2 spaces in second cout
@swarnalathas403211 ай бұрын
In cross pattern 10:34 If n is even then this logic wont work
@vyshnavks650510 ай бұрын
Mam...firstly i apprciate your time and effect you have dedicated to make video to make our life so easy to understand the concept......man while you explaning hollow increasing triangle there is a distrotion in video no view of anything ........am basiclly from different backgroung of EEE but your explaination about the concept made me so easy i wished like you proffesor was there in colleges all student could have scored out of out and loved there subjects....thank you
@robloxplayeronly87119 ай бұрын
if you are my teacher, i would be an expert.
@amanpatel909810 ай бұрын
mam your hollow triangle pattern is not working , please look at it once na.. Nd so thankful for this video , very helpful and the way you explain is awesome. i am almost 15 times watched your video nd every time i feel blessful.
@moviescenter621425 күн бұрын
it is my first comment on KZbin after seeing this video I got surprised I suggest u to see this video and pattern based video also there that also u see guys it too good ..... thank u mam
@muthuvels95583 жыл бұрын
mam please include the other pattern videos as a playlist and paste the link in the description. it will help us to saw other problems
@SimplyCoding3 жыл бұрын
Thanks a lot for your suggestion, will do the same
@vasugaming8846 Жыл бұрын
super Bro
@pgour6376 ай бұрын
Thank you so much mam very helpful video i was stucked in patterns now i can solve patterns related to square😊
@Bedouinlibya2 ай бұрын
Thank you very much for your videos, to be fair your content is one of if not the best educational Java content.
@saikishore15932 ай бұрын
Thank you for the video mam😇
@mddilnawazalam5306 Жыл бұрын
My first comment ever on youtube. The way you taught is awesome !!!!! very easy to understand
@susinaren29993 ай бұрын
❤❤❤
@HeavenRacer422 Жыл бұрын
best pattern explanation
@kamranshehzad6560 Жыл бұрын
Anyone tell me please can we make kite following these patterns if yes then how ?
@aksh8713 Жыл бұрын
Thank you so much! Pretty mam
@shandeshchaudhary-ps1tz4 ай бұрын
I have fallen in love with your explanation.😊💌💌
@tapadiptobanerjee22847 ай бұрын
Can you do hollow square pattern without using operator
@vamsikrishnareddy8085 Жыл бұрын
Nice explanation and it is very easily understood.... 😻❤️❤️😘😘 Thank u so much ma'am...🥰🥰 Pls u can do Data Structures Videos...😊😊☺️
@habeebkinlolu9668 Жыл бұрын
hitting the subscribe button was too early for me 🥰
@DebadritaMajumdarF Жыл бұрын
Ma'am the butterfly patttern
@Akl_Badi_Ya_Bhains11 ай бұрын
Hi, thank you for such an exceptional video. I have one doubt though. While taking the if-condition for 2nd triangle of Hollow Hill Pattern (at 15:14), we are using the condition "if(i == n || j == 1)." Why are we using j == 1 when I think it should have been j == i. I know you r correct and I am wrong, but I am unable to get it, can u please explain.
@balapaudel11 ай бұрын
j==1 helps us print the first star in each row. remember we print one line at a time. j prints stars in each line always starting from 1. And we need the 1st star in each line so j==1. j==i doesn't work because i is responsible for rows. again remember we print one line at a time. for first row j will print a star because i==1 at first row but when we need to print second row the value of i becomes 2 but we need 1st star of each row. So this won't work.
@chandrikaobulasetty694410 ай бұрын
@@balapaudeltq for the explanation for the 2nd triangle but why we take j==i in 3rd triangle instead of j==1?
@satyajitchoudhury70043 жыл бұрын
Tq for making this video 😘
@lakshyagupta94352 жыл бұрын
In hollow decreasing triangle j==i is wrong
@Sukhraj-l3u Жыл бұрын
🤔🤔🤔🤔🤔🤔 how it so easy
@JakkappaGodi2 ай бұрын
Nice explanation Thanks !!🙏
@legitimate_kangaroo2 жыл бұрын
Improve the sound quality please
@MSPHOTOGRAPHY-ep8by2 жыл бұрын
In Hollow diamond pattern j
@thewindwillcarryus91752 жыл бұрын
Why there is j
@biswajeetmohanta4945 Жыл бұрын
Nice explane mam
@karunashivde8487 Жыл бұрын
Some are not giving the expected output
@nagrajnateekar82112 жыл бұрын
Simply great🙏
@afrahsaleem61992 жыл бұрын
Hi, could u please share the link for hollow butterfly pattern program present on simply coding website🙂
@giriprasadp1726 Жыл бұрын
very excellent explanation madam.Thank you..
@xyz-b3l9m11 ай бұрын
Detail explanation with understandable pictures
@ayushrajput812 Жыл бұрын
Best vdo i have ever seen on this concept Great explanation
@sushithabojjam6992 Жыл бұрын
Could you paste the code of hollow left Pascal
@ambarishshiva71672 жыл бұрын
Madam using string to this method answer showing wrong output.for eg input gives Harish
@SimplyCoding2 жыл бұрын
Can you send the exact question and your code to info@simplycoding.in?
@Seraph-21_ Жыл бұрын
do it again with python pls
@igu6427 ай бұрын
❤❤
@sreehithathatwadi52103 жыл бұрын
This video helped me a lot
@rakeshbaral7982 жыл бұрын
middle row and column formula is wrong if user want even number of row's like n=2,4,6......
@SimplyCoding2 жыл бұрын
There is no middle row or column if there is even n.
@rakeshbaral7982 жыл бұрын
@@SimplyCoding point 👍
@waytoawake6394 Жыл бұрын
Thank u mam for ur lovable teaching
@prakasherrolla1035 Жыл бұрын
Mam u r really a good teacher i never seen ever
@RPLmodelamentos-sz3ox7 ай бұрын
Thank You!!
@AsifAliyev1988 Жыл бұрын
wish you've done it in IDE
@ranjithanuslaksh51292 жыл бұрын
For a triangle star int i = what to give
@sushiladevirampuria42732 жыл бұрын
In increasing triangle (hollow) can we write j=1,i=n,j=n???? Maam pls tell@SimpleCoding
@SimplyCoding2 жыл бұрын
I am not sure if I understand your question. Can you edit the code and send at info@simplycoding.in
@gauravchouhan33222 жыл бұрын
thanks mam as you clear my concepts on this topic.
@prashant1470 Жыл бұрын
Thanks mam . Very very thank you ❤️
@ganeshjaggineni4097 Жыл бұрын
NICE SUPER EXCELLENT MOTIVATED
@vishalkamble36462 жыл бұрын
I didn't understand if condition j==n in hollow decreasing triangle. Could you please explain in short
@SimplyCoding2 жыл бұрын
A decreasing triangle has j loop from i to n -> for (int j = i; j
@vishalkamble36462 жыл бұрын
@@SimplyCoding understood mam thank you🙏
@mouni-o-2 жыл бұрын
Mam how to print for diffent Symonds in row and column like -, / , | for this symbols in hollow
@SimplyCoding2 жыл бұрын
Can you give an example of what kind of pattern you want?
great teaching method thank you soo much i was confused soo much
@shivbagupta78882 жыл бұрын
Wonderful explain thanks for given your logic 🖤🖤
@jyothish.m.u9 ай бұрын
Very simple 👏👏👏👍👍👍
@chaitunag1 Жыл бұрын
Thank you. Appreciate explaining the concepts so clearly. 🤩🤩🤩
@top5things9682 жыл бұрын
Thank you so much Mam .
@shivbagupta78882 жыл бұрын
excellent explain and every thing standable
@TranNguyen-xp4rb Жыл бұрын
Thank you so much
@aswanianoop7616 Жыл бұрын
❤❤❤❤❤🎉very helpful
@jacksonpatrick34542 жыл бұрын
i dont understand the n/2+1 . can you please explain it
@SimplyCoding2 жыл бұрын
Take a example to understand it. Lets say you have pattern of 5 stars so middle row/col is 5/2 + 1 which is 3. If it is pattern of 7 stars, then the middle row is 7/2 + 1 which is 4 and so on.
@harliepole48622 жыл бұрын
Thank you very much.
@crimsonshorts4923 жыл бұрын
thank you very much maan 😍😍😍
@Shivakumar-ik3tt Жыл бұрын
The amazing and elegant style of teaching.
@TOPSTAR-cy4je2 жыл бұрын
nice teaching mam
@michaelharrington5860 Жыл бұрын
This video is amazing.
@bhaskarcherry21962 жыл бұрын
Ma'am you explained very well 🙏
@suyakisaneeshwar85062 жыл бұрын
Super
@mousmigound5347 Жыл бұрын
12:11
@Mukthar_vlogs2 жыл бұрын
thanks
@rudra95352 жыл бұрын
amazing
@niteeshyadav88713 жыл бұрын
Much helpful vedio
@rohitmadaan66792 жыл бұрын
thankss
@makewithmegma2 жыл бұрын
🔥💕👌👍
@nibrasmuhammed71062 жыл бұрын
superb!
@greyman9803 жыл бұрын
Thank you
@MR-gv4bv2 жыл бұрын
Middle row = n/2+1 can anybody elaborate ?
@SimplyCoding2 жыл бұрын
Suppose n is 7. Since n is int, when we do n/2, it will give 3 as decimal part will be truncated. However middle row is 4. so we add 1 to it.
@MR-gv4bv2 жыл бұрын
@@SimplyCoding so if n is 8 is it just n/2 ? not n/2+1 ?
@MR-gv4bv2 жыл бұрын
@@SimplyCoding and what about Left diagonal ? i+j == n+1 ? what 1 for ? why it really different from Major diagonal ?
@SimplyCoding2 жыл бұрын
It case of even nos. like 8, technically there is no middle row, it can be fourth or fifth or both. if your exam question asks you to handle it, I am sure you can work out the middle rows since you know the formula now.