- 137
- 213 474
Amir Charkhi
Australia
เข้าร่วมเมื่อ 7 ส.ค. 2013
I love teaching, people and AI :)
58. Find Angle MBC: Hackerrank | Python Solution Explained
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀
#CodeSignal #hackerrank #hackerranksolutions
Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨
👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as we decode, troubleshoot, and conquer a myriad of challenges designed by developers, for developers.
🚀 What to Expect:
- **In-depth Analysis:** Dive deep into each challenge as we unravel the intricacies and explore optimal solutions.
- **Pro Tips:** Unearth valuable insights and expert tips to streamline your coding approach and boost efficiency.
- **Interactive Learning:** Engage with the coding community in the comments, sharing thoughts, solutions, and learning from one another.
🌟 Why CodeSignal?
CodeSignal isn't just an assessment platform; it's a vibrant ecosystem where developers thrive. Whether you're preparing for a CodeSignal assessment or simply aiming to sharpen your coding skills, our playlist has something for everyone.
🚨 Don't Miss Out! Subscribe now and turn on notifications to stay updated with each thrilling episode. Let's code, learn, and conquer together! 💻🚀
#CodeSignal #CodingChallenges #ProgrammingJourney #DeveloperLife #CodeMastery #LearnToCode #CodingCommunity #TechSkills #AlgorithmMasters #TH-camCoding #CodeSignalPlaylist
Are you ready to crack the code? Join us on this epic coding adventure! 💡🔒✨
#CodeSignal #hackerrank #hackerranksolutions
Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨
👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as we decode, troubleshoot, and conquer a myriad of challenges designed by developers, for developers.
🚀 What to Expect:
- **In-depth Analysis:** Dive deep into each challenge as we unravel the intricacies and explore optimal solutions.
- **Pro Tips:** Unearth valuable insights and expert tips to streamline your coding approach and boost efficiency.
- **Interactive Learning:** Engage with the coding community in the comments, sharing thoughts, solutions, and learning from one another.
🌟 Why CodeSignal?
CodeSignal isn't just an assessment platform; it's a vibrant ecosystem where developers thrive. Whether you're preparing for a CodeSignal assessment or simply aiming to sharpen your coding skills, our playlist has something for everyone.
🚨 Don't Miss Out! Subscribe now and turn on notifications to stay updated with each thrilling episode. Let's code, learn, and conquer together! 💻🚀
#CodeSignal #CodingChallenges #ProgrammingJourney #DeveloperLife #CodeMastery #LearnToCode #CodingCommunity #TechSkills #AlgorithmMasters #TH-camCoding #CodeSignalPlaylist
Are you ready to crack the code? Join us on this epic coding adventure! 💡🔒✨
มุมมอง: 69
วีดีโอ
57. Zipped!: Hackerrank | Python Solution Explained
มุมมอง 77วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
7. LINUX Conditionals: Hackerrank LINUX Full Tutorial
มุมมอง 54วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
3. LINUX Persoanlized Echo: Hackerrank LINUX Full Tutorial
มุมมอง 3114 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
6. LINUX Comparing Numbers: Hackerrank LINUX Full Tutorial
มุมมอง 3514 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
4. LINUX Looping with Numbers: Hackerrank LINUX Full Tutorial
มุมมอง 2014 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
56. Maximize it!: Hackerrank | Python Solution Explained
มุมมอง 4414 วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
5. LINUX World of Numbers: Hackerrank LINUX Full Tutorial
มุมมอง 3814 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
2. LINUX Looping & Skipping: Hackerrank LINUX Full Tutorial
มุมมอง 5121 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
1. Echo "HELLO" - Full Linux Tutorial
มุมมอง 7221 วันที่ผ่านมา
#HackerRank #Linux #CodingChallenges #BashScripting #CompetitiveProgramming #LinuxCommands #ProblemSolving #LinuxBasics #LinuxProgramming Welcome to my channel! In this video, we tackle a HackerRank challenge and dive into Linux questions to enhance your skills in competitive programming and system administration. Whether you're prepping for an interview, solving coding problems, or mastering t...
51. Iterables and Iterators: Hackerrank | Python Solution Explained
มุมมอง 6521 วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
50. Triangle Quest 2: Hackerrank | Python Solution Explained
มุมมอง 11221 วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
49. Piling Up!: Hackerrank | Python Solution Explained
มุมมอง 7321 วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
54. Mod Divmod: Hackerrank | Python Solution Explained
มุมมอง 4821 วันที่ผ่านมา
🚀 Elevate Your Coding Skills with CodeSignal Challenges! 🚀 #CodeSignal #hackerrank #hackerranksolutions Embark on a coding journey like never before with our exclusive TH-cam playlist featuring the exhilarating challenges from CodeSignal! 🌐✨ 👨💻 Whether you're gearing up for a CodeSignal assessment or simply eager to enhance your coding prowess, this playlist is your ultimate guide. Join us as ...
53. Set .Intersection(): Hackerrank | Python Solution Explained
มุมมอง 4421 วันที่ผ่านมา
53. Set .Intersection(): Hackerrank | Python Solution Explained
55. Power, Mod Power: Hackerrank | Python Solution Explained
มุมมอง 3921 วันที่ผ่านมา
55. Power, Mod Power: Hackerrank | Python Solution Explained
52. Collections Decque: Hackerrank | Python Solution Explained
มุมมอง 41หลายเดือนก่อน
52. Collections Decque: Hackerrank | Python Solution Explained
46. Set Discard, Remove & Pop: Hackerrank | Python Solution Explained
มุมมอง 128หลายเดือนก่อน
46. Set Discard, Remove & Pop: Hackerrank | Python Solution Explained
48. Set Union: Hackerrank | Python Solution Explained
มุมมอง 66หลายเดือนก่อน
48. Set Union: Hackerrank | Python Solution Explained
47. Company Logo: Hackerrank | Python Solution Explained
มุมมอง 154หลายเดือนก่อน
47. Company Logo: Hackerrank | Python Solution Explained
44. Word Order: Hackerrank | Python Solution Explained
มุมมอง 2512 หลายเดือนก่อน
44. Word Order: Hackerrank | Python Solution Explained
43. Set .add(): Hackerrank | Python Solution Explained
มุมมอง 3304 หลายเดือนก่อน
43. Set .add(): Hackerrank | Python Solution Explained
1. Flask Tutorial: A Step-by-step Guide to Mastery
มุมมอง 2634 หลายเดือนก่อน
1. Flask Tutorial: A Step-by-step Guide to Mastery
42. Symmetric Difference: Hackerrank | Python Solution Explained
มุมมอง 3694 หลายเดือนก่อน
42. Symmetric Difference: Hackerrank | Python Solution Explained
11. Is Lucky: CodeSignal Python Full Explanation
มุมมอง 1406 หลายเดือนก่อน
11. Is Lucky: CodeSignal Python Full Explanation
41. Collections.OrderedDict: Hackerrank | Python Solution Explained
มุมมอง 6656 หลายเดือนก่อน
41. Collections.OrderedDict: Hackerrank | Python Solution Explained
9. All Longest Strings: CodeSignal Python Full Explanation
มุมมอง 1567 หลายเดือนก่อน
9. All Longest Strings: CodeSignal Python Full Explanation
10. Common Character Count: CodeSignal Python Full Explanation
มุมมอง 1297 หลายเดือนก่อน
10. Common Character Count: CodeSignal Python Full Explanation
8. Matrix Elements Sum: #CodeSignal Python Full Explanation
มุมมอง 2737 หลายเดือนก่อน
8. Matrix Elements Sum: #CodeSignal Python Full Explanation
6. Make Array Consecutive: CodeSignal Python Full Explanation
มุมมอง 2257 หลายเดือนก่อน
6. Make Array Consecutive: CodeSignal Python Full Explanation
if there is a scenario that in student list there are just two students with same score then when we apply set and sorted methods there is just 1 element remaining in the list so when we use this approach to find second lowest number second_lowest = sorted_grades[1] then compiler gives error of out o range index because there is no any element with 1 indes there is just 1 element whose index is 0 so in this scenario we can add a check to find the length of list: if len(sorted_grades) >= 2: second_lowest = sorted_grades[1] else: second_lowest = sorted_grades[0]
Corrected code --if __name__ == '__main__': N = int(input()) my_list = [] for i in range(N): user_input = input().split() if user_input[0] == 'insert': my_list.insert(int(user_input[1]), int(user_input[2])) elif user_input[0] == 'print': print(my_list) elif user_input[0] == 'remove': my_list.remove(int(user_input[1])) elif user_input[0] == 'append': my_list.append(int(user_input[1])) elif user_input[0] == 'sort': my_list.sort() elif user_input[0] == 'pop': # If no index is provided for pop, just pop the last element if len(user_input) > 1: my_list.pop(int(user_input[1])) else: my_list.pop() elif user_input[0] == 'reverse': my_list.reverse()
Alhamdulliah, i did this without watching any video, but i used reversed(range(1,N,2)
nice explanation sir
and also when i did list(map(int, input().split())) it didn't even give me a number
When I did list(map(int, input())) as a habit, the value was 90 degrees, why?
What if i do like this If(n%2==0 and range (2,5)): Solution came right but test case 3 and 7 cames wrong while submit can you explain??
you don't need a for loop to access a dictionary when you already have the key!! hahaha. just print sum(marks[query]) / len(marks[query])
what if all number in arr are the same? I think it returns None, and that must be ok.
omg!! it was so easy. I was dealing with substrings and sets, and I got the solution, but it was slow for long strings (the problem says S could be up to 10^6 long). you open my mind! thanks!
you explained it really well!! the second loop is confusing for a beginner like me
Great to hear you enjoyed the video and happy learning🎊💐
great explanation sir !
Thanks and glad you are enjoying the videos🙂 keep up the good work🙂
you are awesome!!
Thanks for the nice words and glad you are enjoying the videos. Keep up the great work and happy learning🙂
Thank you so much for the videos they are really helpful, your efforts are much appreciated.
Great to hear they are helpful and you are enjoying them🎊 keep up the good work💐
@@AmirCharkhi I wonder if we could see a series of videos regarding other languages such as C language. Thank you once again.
I understand that we first gotta select only the red channel/layer out of the image and then we can display it in grayscale using cmap, but I am still unable to understand why cmap = 'gray' wasnt able to show the image in grayscale?
arr = map(int, input().split()) new_sort=sorted(set((arr))) bro what about this?
great explanation!
Thanks mate, so glad you enjoyed it and stay tuned for many more💐
The order of the column names changes in the input. For example, test case 0 has: ID MARKS NAME CLASS But test case 1 has: MARKS CLASS NAME ID How does the code handle that?
MARKS, CLASS, NAME, ID = input().split() I did not know you could do this. It seems it's automatically assigning a variable to each item in the list that split() returns. Very cool.
Your videos are extremely helpful. Thank you so much.
Thanks mate, so glad you are enjoying them🙂
I loved that thanks a lot!!!
Glad you enjoyed learning💐 keep up the good work🙂
Two comments: 1) I think there is a small error in the code. Instead of "elif num in set_b" on line 11, it should be "if num in set_b". Otherwise, the happiness will not decrease if the number is in both sets. 2) I had to remove the function call in order not to get excessive timeout on running. I noticed in the video, you forgot to show the "submit code" at the end. You may have gotten an error also. No problems, you have great content.
Thanks for the notes and the time you have taken to write. I might have missed a bit but this was a long time ago but I will revisit and leave a comment if need be🙂 Cheers and keep up the great work🙂
I want to thank you for all of your great videos. I am teaching a basic Python class in my local community and your videos are very useful. Great Job.
This made my day! Thank you for your support and encouragement. Appreciate what you do for your community and please let me know if I can be of any help. More than happy to lend a hand🙂
bro i think you are from india
I am not🙂
I am not🙂
Where are u from???
From Italy I think soo
Tq for your information ❤
Thank you for watching and keep up the good work🙂
From @Sumayya45 in a reply comment: "The number of substrings starting at index i is equal to length - i." This is key to understanding the logic.
Glad this is helpful🙂
you are doing a great job keep it up
Great to see you are loving the videos and wishing you heaps of success buddy💐
hello bro
Thanks💐
damn, you taught me better than my college teacher
Thanks, I am glad I can be of help and I am sure your college teacher is doing their best🙂
❤
💐💐💐
this is different question and different solution
To understand why width = size * 4 - 3? let's say size = 3. If we see the max width in the middle, the total no. of the alphabet is 5(c, b, a, b, c), and so one dash is required in between these alphabets. so, the total no. of dashes is 4 in this case. so, if size = 3, the max width in the middle row is: 5 alphabets+4 dashes = (3+2) + (4) = (3 +2 ) + (5-1) = (3 + 2) + (3 + 2 -1) = (n + n-1) + (n + n - 1 - 1) {As n or size = 3} = (2n - 1) + (2n - 2) = 2n + 2n - 1 - 2 = 4n - 3 Therefore width = 4 * size - 3
i have a issue in parameter you set parameter in swap function s but used new_s which is not in parameter sir plz explain that
I am glad that I found your channel. Thanks a lot.
Thanks for the support and stay tuned as we are building whole heaps more🎊 happy learning
you are a great teacher
Thanks Batel, keep up the great work💐
u the meshiah!
Thanks for the support and happy learning💐
great sir big fan of you sir
Great to hear that Mohammed and keep up the great work you are doing💐
Why did you use "str" after the return?
Amazing 👏
Keep up the good work Aysun🎊🎊🎊
best explanation sir i watched almost 3 to 4 videos untill you. I clearly understood the concept from you. thanks
Great to hear that Mohammed and happy learning🎊🎊🎊
can u explain print(" ".join(map(str, final_dict[b])))
Why is this soo hard!!!!😢😢
It is only hard at the start Seerat, kepe trying and it will become natural as you go💐 Happy learning🙂
thankyou so much fr ur explanation it helps me a lot to code and makes me feel confident
Great to hear you enjoyed it and happy learning💐
Thank you so much you saved me ! Amazing explanation
Great to hear you enjoyed and keep up the good work🎊
Thank you, Amir
You are more than welcome mate and glad you are enjoying the videos💐 happy leraning💐
How can we use loop while taking our output???
What exactly do you mean?🙂 happy learning💐
Means we are using for loop and printing our program at the same time Is it also possible in c++??
Your videos are helping me alot ❤and thanks for paying attention 💫
such a pretty explanation❤
Glad it was helpful!
Such beautifully explained!🍦
Thanks mate and so glad you enjoyed this💐
Awesome Explanation Amir sir, can you start a playlist for selected leetcode questions also??
Thanks for the kind words and sure will put that in my notes to start💐 happy learning💐
how j loop working here ?
Keep replicating the code and make sure you use the print function along the way and it will all start making sense🙂 happy learning💐