Kal Bartal
  • Python Coding Challenges
  • YouTube
  • GitHub
  • LinkedIn
  • Twitter
  • Contact
Category:

Python Coding Challenges

  • Python Coding ChallengesPython Linked List Challenges

    Check if a Linked List Has a Cycle in Python

    by Kal Bartal February 11, 2023
    by Kal Bartal February 11, 2023

    Are you stuck trying to figure out how to tell if a linked list has a cycle in Python? No problem! This post will go through the code and explain the time and space complexity of the solution in simple terms. If you want to explore the code and find out how it all works, keep reading!

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython Stack Challenges

    Implement a Stack in Python Using Merge Sort

    by Kal Bartal February 9, 2023
    by Kal Bartal February 9, 2023

    In this post, we will be discussing the implementation of a Stack data structure in Python using the Merge Sort algorithm. A Stack is a collection of elements where the two principal operations are push and pop, adding and removing elements respectively. The Stack should be able to handle the following operations: push, pop, peek, and isEmpty. In addition, the stack should also be sorted in ascending order using the Merge Sort algorithm. Understanding the problem and understanding the concept of the Stack data structure and Merge Sort will be crucial in tackling this problem and writing a working algorithm.

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython String Challenges

    Sort Characters in a Python String Alphabetically

    by Kal Bartal February 8, 2023
    by Kal Bartal February 8, 2023

    This tutorial will explore how to solve the problem of sorting characters in a Python string in alphabetical order. We’ll learn about manipulating strings in Python and discuss how to compare various sorting algorithms. Finally, we’ll put the pieces together to create a solution using the merge sort algorithm. Problem-solving can be quite challenging, but with the right approach, we can find an efficient solution with minimal time and space complexity.

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython List Challenges

    Maximum Pair Sum in a Python List

    by Kal Bartal February 7, 2023
    by Kal Bartal February 7, 2023

    If you’re looking for a challenge to test your knowledge of manipulating and iterating through lists in Python, then join me in solving the Maximum Pair Sum in a Python List problem. In this post I’ll explain the problem in detail and provide a solution with an explanation.

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython Linked List Challenges

    Remove Duplicates in an Unsorted Linked List in Python

    by Kal Bartal February 6, 2023
    by Kal Bartal February 6, 2023

    In this post, I will walk you through a popular Python coding challenge and provide you with the solution code and detailed explanations. The challenge is called ‘Remove Duplicates in an Unsorted Linked List’, and it involves finding and removing any duplicates in an unsorted linked list of integers. I will also be talking about the concept of run time complexity and how it relates to your solution. So, if you’re ready, let’s dive in and get started!

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython Linked List Challenges

    Reverse a Linked List In Place in Python

    by Kal Bartal February 5, 2023
    by Kal Bartal February 5, 2023

    Are you struggling to figure out how to reverse a linked list in-place in Python? If so, then you’re in the right place! In this post, I will explain the problem and go through the solution in detail. I will also discuss the time and space complexity of this task, so you can decide if this is the most efficient solution. Additionally, I will provide the code and solution. So don’t worry and read on to find out more!

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Array ChallengesPython Coding Challenges

    Maximum Subarray Sum in Python

    by Kal Bartal February 4, 2023
    by Kal Bartal February 4, 2023

    In this post, I will be teaching you how to solve the Maximum Subarray Sum problem using a dynamic programming approach in Python. We will be looking at the basics of the problem, developing a solution, and explaining our solution’s time and space complexity. So if you want to learn how to solve this problem in an efficient way, keep reading!

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython String Challenges

    Longest Substring with No Repeating Characters in Python

    by Kal Bartal February 3, 2023
    by Kal Bartal February 3, 2023

    Tackling the problem of the longest substring with no repeating characters is a challenging task, and ensuring you have a robust solution is crucial! This post will cover the problem, the solution logic and code, the time and space complexities, and some additional tips and tricks I picked up along the way. Check it out and start honing your problem-solving and debugging skills now!

    If you’d like to learn more, you can watch my video tutorial. In it, I’ll be going over how to solve the problem in Python, walking you through each step and providing additional resources if you’d like further guidance. Tune in now!

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython Dictionary Challenges

    Find the Most Frequently Used Words in a Python Dictionary

    by Kal Bartal February 2, 2023
    by Kal Bartal February 2, 2023

    Struggling with finding the most frequently used words in a list using Python? Don’t worry–we’ve got your back!

    This video will show you exactly how to create a function which can do just that. We’ll guide you through creating the function and using a dictionary to store the words, looping through the list and dictionary to compare the counts of each word, and we’ll go over the time and space complexity considerations of the code.

    By the time this video is over, you’ll be able to come up with your own solution to find the most frequently used words in Python dictionary problem.

    Read more
    0 FacebookTwitterPinterestEmail
  • Python Coding ChallengesPython Dictionary Challenges

    Merging Two Dictionaries with Union and Average in Python

    by Kal Bartal February 2, 2023
    by Kal Bartal February 2, 2023

    Do you want to find the average of two complex dictionaries in Python? Then you’re in the right place! In this tutorial, I will be showing you how to utilize union and average operations to seamlessly merge two dictionaries in Python and get the average of the two dictionaries’ corresponding keys. I’m sure that after watching this video, you’ll master the skill of combining dictionaries in Python!

    Read more
    0 FacebookTwitterPinterestEmail
  • 1
  • 2

About Me

About Me

I'm Kal Bartal, studying MSc #ComputerScience with #CyberSecurity at the University of York, UK. Graduated from Anglia Ruskin University in Cambridge. #Python

Keep in touch

Twitter Linkedin Youtube Email Github Reddit

Recent Posts

  • Secure, Scalable and Maintainable Django Development

    March 13, 2023
  • Django Property Management App on Azure

    March 11, 2023
  • Serverless Flask API with Azure Functions

    February 21, 2023
  • Flask on Azure Deployment

    February 19, 2023
  • Building a RESTful API with Flask and SQLAlchemy

    February 17, 2023
  • Twitter
  • Linkedin
  • Youtube
  • Email
  • Github
  • Reddit

@2023 - All Right Reserved. Designed and Developed by Kal Bartal

Kal Bartal
  • Python Coding Challenges
  • YouTube
  • GitHub
  • LinkedIn
  • Twitter
  • Contact
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT