+ 5

Can anyone help me to complete this Pangrams codes

The detail description is in the code section with comments!! https://code.sololearn.com/c627y3KkROZo/?ref=app

4th Sep 2022, 8:59 AM
filibuster
filibuster - avatar
9 Respostas
4th Sep 2022, 10:40 AM
JaScript
JaScript - avatar
+ 4
JaScript Avinesh Quantum Thank you all i got the solution ✌️
4th Sep 2022, 11:48 AM
filibuster
filibuster - avatar
+ 3
Hint: you have to check of a text included all letters of alphabet at least one time.
4th Sep 2022, 9:36 AM
JaScript
JaScript - avatar
+ 3
JaScript any example to make logic?
4th Sep 2022, 10:07 AM
filibuster
filibuster - avatar
+ 3
Rajeev Sharma happy coding!
4th Sep 2022, 2:05 PM
JaScript
JaScript - avatar
+ 1
Rajeev Sharma there is a total of 26 letters. You can create an array of size 26 where all elements are initially 0. Then you can iterate the string and update the corresponding index in the array to 1. At the end iterate the whole array, if there is no 0 found, it means it is a Pangram and vice versa.
4th Sep 2022, 10:14 AM
Avinesh
Avinesh - avatar
+ 1
You need a loop and an inner loop to iterate the alphabet and the string, and every time a letter from the alphabet is in the string, then increase a variable to 1, and then break the inner loop. In the end, you can compare if the variable has the same value as the length of the alphabet.
4th Sep 2022, 10:45 AM
Jan
Jan - avatar
+ 1
JaScript I used two loops in this solution, but your solution is probably faster, because of less iterations. https://code.sololearn.com/cmyGi2q6H53R/?ref=app
4th Sep 2022, 11:44 AM
Jan
Jan - avatar
0
Can anyone help me to complete my certification program?
5th Sep 2022, 4:06 PM
Bashr Ismail
Bashr Ismail - avatar