Pangram Program in Java | Pangram Problem Solution | Interview Questions on Pangram | ABC

  Рет қаралды 56,115

ABC - Technology Training & Upskilling

ABC - Technology Training & Upskilling

Күн бұрын

Пікірлер: 62
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Learn from Leaders, Learn from ABC. Watch our latest technical videos in your language: For Hindi:- bit.ly/2TRuGVP For Kannada:- bit.ly/31NH63M For Telugu:- bit.ly/2MuYRRP For Tamil:- bit.ly/2Num5Hz
@manjuch4884
@manjuch4884 5 жыл бұрын
Because of your teaching only I got interest on coding sir ... Tq soo much
@surbhitamrakar1638
@surbhitamrakar1638 4 жыл бұрын
The way you teaches is really great sir.I request you to make videos on data structures it would become easier from your teaching.
@sidharthmandal9957
@sidharthmandal9957 4 жыл бұрын
For those who have been trying to convert to lowercase will get a problem, arrays index out of bound....try to convert it into upper case, as the logic says.....y[i]-65..... as 65 is the Ascii value of A.....Thank you
@venkateshvenkatesh-xg5cq
@venkateshvenkatesh-xg5cq 5 жыл бұрын
sachin is god of cricket.you are god of teaching sir.please make videos on c and c++ programming language
@abdullahrafi2496
@abdullahrafi2496 4 жыл бұрын
Without any hesitation 10/10
@varshamehra8164
@varshamehra8164 5 жыл бұрын
Sir.. Thank you so much for so nice expalaination. U and your teaching style is great. And what I like the most is your energy and enthusiasm when you teach :)
@TheMemeCat1
@TheMemeCat1 5 жыл бұрын
Very high quality editing.. im amazed. Which software you use?
@qa3596
@qa3596 2 жыл бұрын
Very well explanation sir and ur way to teach is very good
@varshamehra8164
@varshamehra8164 5 жыл бұрын
Sir, please make videos on Dynamic programing and Graph algos....
@vinaykumargm7259
@vinaykumargm7259 5 жыл бұрын
Hai sir !! Plz explain about System.exit(0) System.exit(-1) System.exit(1)
@Hampirathna
@Hampirathna 5 жыл бұрын
Exit(0) is successful termination from the program Whereas exit(1) is forcefully terminated by programmer
@Justin-he4rd
@Justin-he4rd 4 жыл бұрын
Epic music, great job explaining, awesome editing, straight to the point! 10/10 !
@sourabhparalkar1583
@sourabhparalkar1583 5 жыл бұрын
Hello sir, Instead of taking array I took following approach, would you please let me know whether this is ideal approach or not.. public boolean isPangram(String string) { string.replace(" ",""); char y[] = string.toCharArray(); for(char i='A'; i
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Hi Sourabh, We are glad to see a different approach. It would be more ideal with the following changes implemented in the code: 1. Firstly, after replacing the spaces in the input String, the replace() method would return a new String object without spaces. This newly obtained String object should be reassigned to the String reference variable. Since Strings are immutable in Java. string = string.replace(" ","");
@ramyach137
@ramyach137 4 жыл бұрын
nice teaching with good presentation.
@sahilchaudhary788
@sahilchaudhary788 4 жыл бұрын
really nice explanation sir, i actually have a doubt, y cant v assign an array from A to Z then v take the given string convert it to array and sort it. if the resulting sting array is equal to the previous one it will be a pangram. please tell me if i am wrong thank you.
@sidharthmandal9957
@sidharthmandal9957 4 жыл бұрын
what will you do about the repeated letters??
@shushilkumar6033
@shushilkumar6033 5 жыл бұрын
sir your teaching style wonderful
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Thanks for your appreciation. Keep Watching, Keep Learning.
@swatisharma-fw5pp
@swatisharma-fw5pp 4 жыл бұрын
Nicely explain
@nandishsg9805
@nandishsg9805 5 жыл бұрын
Sir please make data structures videos. I am eagerly waiting for your videos on data structures.
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Undoubtedly, We have a lot to offer to aspiring technocrats. An intense series on Data Structures & Algorithms will be released very soon. Stay tuned!
@anne_pandey
@anne_pandey 5 жыл бұрын
This source code will not gonna work if the given string is in CamelCase notation and thus generates an Exception "ArrayIndexOutofBound". Sir, I m a big fan of you. the way of your teaching is Awesome. Actually i always used to be afraid with JAVA. But now your videos pull me in and build an interest into it. And i m one of your student in ABC, BTM. Thank you so much sir for such kind of Stuffs.
@anne_pandey
@anne_pandey 5 жыл бұрын
I got the Solution 😀.
@rahuldey2501
@rahuldey2501 5 жыл бұрын
@@anne_pandey You have to convert the String to Upper Case before copying the value to the array, then you will get the output.
@lyrica5816
@lyrica5816 4 жыл бұрын
what if we want to use lowercase letters? what will be the logic then?
@maheshdeoraye6660
@maheshdeoraye6660 4 жыл бұрын
it throws exception, array index out of bound exception
@mobeenasyed8753
@mobeenasyed8753 5 жыл бұрын
Hi I am getting confusion how to subtract ASCII value
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
We insist you to trace the code on your own once. It will certainly help you understand the logic well.
@panyamramesh639
@panyamramesh639 5 жыл бұрын
i like the BGM
@mdiqbalmahmud8233
@mdiqbalmahmud8233 4 жыл бұрын
thank sir
@RaviRanjan-kd2kf
@RaviRanjan-kd2kf 5 жыл бұрын
Sir, make tutorials On Mathematical Algorithms, generally used in Competitive programming
@VineetKumar-eb3lv
@VineetKumar-eb3lv 5 жыл бұрын
Thank You
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Always glad to be of service!
@smithajoseph667
@smithajoseph667 5 жыл бұрын
Getting ArrayIndexOutOfBoundsException.. please help me on this
@ABCforTechnologyTraining
@ABCforTechnologyTraining 5 жыл бұрын
Certainly, Kindly share the program code here. We will resolve the issue for you.
@ramcharanammineni9589
@ramcharanammineni9589 4 жыл бұрын
me also same problem how can solve it...
@ramcharanammineni9589
@ramcharanammineni9589 4 жыл бұрын
i got u convert the string into uppercase u got it..
@business187
@business187 5 жыл бұрын
CAN U plzzz MAKE TUTORIALS ALGORITHM?? Plzzzzzzzzzzz
@kitchenkhazana8677
@kitchenkhazana8677 4 жыл бұрын
Please explain in hindi because some students are weak in English.
@chaitrachinnu320
@chaitrachinnu320 5 жыл бұрын
Y we need to subtract by 65 oly.? Can we use other no to subtract.?
@HumeiraShaik
@HumeiraShaik 5 жыл бұрын
We should subtract with 65 only in order to get the index value of array a[index]..
@dizzymolecule6759
@dizzymolecule6759 5 жыл бұрын
65 is the starting index of the array.In order to get the respective index of an alphabet,you should perform [final index]-[initial index] and here the initial index is fixed,as ascii value of A is 65.
@filmyfactsmedia
@filmyfactsmedia 5 жыл бұрын
Please watch before vidoes in one of the video will encounter this ASCII table mam
@dizzymolecule6759
@dizzymolecule6759 5 жыл бұрын
send.firefox.com/download/586bbda37b23812b/#Ui6pUtPjZd9CSrbV9MgoUA the link given above is the same code with little modification that works for camel case also. you can remove the commented lines to understand the code and logic better.
@rishabh152
@rishabh152 5 жыл бұрын
In python its a 3-4 line program. def ispangram(str): alphabet = "abcdefghijklmnopqrstuvwxyz" for char in alphabet: if char not in str.lower(): return False Done... Power of python
@maheshpatil5812
@maheshpatil5812 5 жыл бұрын
#include int main() { int i,j,c=0; char a[100]="the quick brown fox jumps over a lazy dog"; for(i=0;i
@blackpanther4812
@blackpanther4812 5 жыл бұрын
Why break;
@blackpanther4812
@blackpanther4812 5 жыл бұрын
What if I not put break
@abdullahbaabbad885
@abdullahbaabbad885 4 жыл бұрын
What if we just took the original string ("the quick brown fox jumps over a lazy dog") and sort it using Array.sort() method and then initialize a string of all alphabets ("abcdefghijklmnopqrstuvwzyx") and just compare it with the orginal sorted string using Array.equals(original sorted string,string of alphabets). if they are equal then print pangram otherwise print non pangram. but the problem I faced that the original sorted string will contain repeated alphabets which leads to inequality with the string of alphabets. Can you please help me out? the cod is as follows: public class test { public static void main(String[] args) { String s1 = "the quick brown fox jumps over a lazy dog"; s1 = s1.replace(" ", ""); s1 = s1.toLowerCase(); String alphabets="abcdefghijklmnopqrstuvwxyz"; char[] c = s1.toCharArray(); char [] alpha=alphabets.toCharArray(); Arrays.sort(c); boolean result = Arrays.equals(c,alpha); if(result==true) { System.out.println("Pangram"); } else System.out.println("Non Pangram"); } }
@theshauryasinghofficial
@theshauryasinghofficial 4 жыл бұрын
coding ka Sandeep maheshwari
@ABCforTechnologyTraining
@ABCforTechnologyTraining 4 жыл бұрын
Glad you think so, Shaurya! Happy learning!
Loops in Java | for | while | do-while | for-each loop in java | loops in java programming | ABC
13:56
ABC - Technology Training & Upskilling
Рет қаралды 24 М.
How to remove all white spaces from a String in Java | Strings interview questions in Java | ABC
10:03
ABC - Technology Training & Upskilling
Рет қаралды 18 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Thank you Santa
00:13
Nadir Show
Рет қаралды 21 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,5 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 45 МЛН
Introduction to MAP Data Structure in Java | HashMap in Java with Example | ABC
12:40
ABC - Technology Training & Upskilling
Рет қаралды 44 М.
Java for the Haters in 100 Seconds
2:22
Fireship
Рет қаралды 2,9 МЛН
Anagram Program in Java Using Strings | Anagram Problem Solution | Interview Questions on Anagram
9:42
ABC - Technology Training & Upskilling
Рет қаралды 87 М.
Palindrome Program in Java | Interview questions and answers for freshers | Part 1
8:37
ABC - Technology Training & Upskilling
Рет қаралды 54 М.
Check if a String has ALL UNIQUE CHARACTERS using MAP Data Structure| HashMap in Java| Maps in Java
10:41
ABC - Technology Training & Upskilling
Рет қаралды 25 М.
Check Two Strings are Anagram Or Not using Sort and Equals in Java
11:10
Naveen AutomationLabs
Рет қаралды 31 М.
How I Failed the Google Coding Interview (and lessons I learned)
14:24
Java Program to check given String is Panagram or not?
8:24
Learn With KrishnaSandeep
Рет қаралды 59 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33