Painless Programming
Painless Programming
  • 201
  • 731 904
Big O Notation
Big O Notation - with C examples. Big O notation will allow you to analyze algorithms to give an upper bound of runtime.
Переглядів: 38

Відео

Binary Search Trees Part2 - Searching and Deleting
Переглядів 333 місяці тому
Binary Search Trees Part2 - Searching and Deleting This video is part2 for ua-cam.com/video/MKxBOHLxeGg/v-deo.html I will show C code for the Binary Search Tree.
Binary SearchTree
Переглядів 533 місяці тому
Binary SearchTree - for beginners explained using diagrams and C code.
Breadth First Search (BFS) Tutorial with Python Code
Переглядів 283 місяці тому
Breadth First Search (BFS) Tutorial with Python Code
Building an Array Based Heap
Переглядів 393 місяці тому
Building an Array Based Heap in 7 minutes. I will use diagrams to discuss the logic and python for the implementation.
Python Solution to Tower of Hanoi
Переглядів 7745 місяців тому
Python Solution to Tower of Hanoi - this video shows a recursive solution to the Tower of Hanoi math puzzle. The puzzle involves 3 towers: A, B, C and a set of disks. You start with a set of disks on A with different diameters and have the goal of moving all disks to C. The puzzle rules say 1) only move one disk at a time 2) only move the disk on top 3) never put a larger disk on top of a small...
Python Lambda Fcns for Beginners
Переглядів 1565 місяців тому
Python Lambda Fcns for Beginners - lambda functions or lambda expressions are anonymous functions that fit on one line. Let's take some small functions and turn them into lambda functions.
Python and pickle module - serialize objects
Переглядів 467 місяців тому
Python and pickle module - serialize objects
Error Handling User Input with cin in C++
Переглядів 1,1 тис.Рік тому
Error Handling User Input with cin in C - when trying to read a number from the user, in my example I'm reading the number into a stort int data type, some errors that could occur: 1) user enters letters only 2) user enters float 3) user enters a mix of numbers and letters 4) user enters a value that is too large and in the case of an unsigned data type, the user could enter a negative number. ...
Using ChatGPT in C Programming
Переглядів 765Рік тому
Using ChatGPT in C Programming - this video poses a simple programming problem to ChatGPT and looks at the pros and cons of the generated answer. ChatGPT could be a great tool when learning C programming, but be careful not to become over reliant on the tool. And do not turn in ChatGPT answers as your own original work.
Creating a Database in Python using sqlite3 module
Переглядів 131Рік тому
This video is aimed at beginners who want to create a database in python. I'm using the sqlite3 module which is included when you download python. This video shows you how to create a database table, how to insert records into the table, how to delete records, and how to select from the table.
Learn to Code a Barbie Dress Up Game in 5 Minutes
Переглядів 947Рік тому
Learn to Code a Barbie Dress Up Game in 5 Minutes - This tutorial is for beginning coders using Scratch. You can find the images used in this video at the link: github.com/heathermarriott/barbieScratchProject
Creating your First Computer Game in Scratch
Переглядів 595Рік тому
Creating your First Computer Game in Scratch - Scratch is a language created by MIT to help teach computer programming to kids and adults. The easy to use online format makes learning about programming very easy for all. Start by creating an account at: scratch.mit.edu/ I will walk you through creating your first game where you help the cat collect fish by clicking on them. This simple example ...
Swift Storyboard Tutorial
Переглядів 14 тис.Рік тому
This is a beginner's swift storyboard example with two labels and two buttons. The video shows how to hookup the User Interface from the storyboard to the Swift code. I demonstrated having swift code in multiple files by using a class extension.
Unity Scenes that Look Good on Most Devices
Переглядів 149Рік тому
Unity Scenes that Look Good on All(Most) Devices - How to view your Unity Scene as it will appear of different device types: iPhones, iPads, Android tablets and phones. Setting the Canvas to Scale with Screen Size and inputting dimensions for the ideal screen size.
Intro to Microsoft Azure PlayFab, Anonymous Login and Title Data
Переглядів 497Рік тому
Intro to Microsoft Azure PlayFab, Anonymous Login and Title Data
Unity Tutorial For Beginners - Button and TextMeshPro using Unity 2021
Переглядів 6 тис.Рік тому
Unity Tutorial For Beginners - Button and TextMeshPro using Unity 2021
Python Minesweeper - Handling Zero Boxes
Переглядів 980Рік тому
Python Minesweeper - Handling Zero Boxes
Creating Flashcards in Unity
Переглядів 1,8 тис.2 роки тому
Creating Flashcards in Unity
Python - Writing Binary Data to Files
Переглядів 4,9 тис.2 роки тому
Python - Writing Binary Data to Files
Unity - Multiple Animations on One Object
Переглядів 15 тис.2 роки тому
Unity - Multiple Animations on One Object
Swift - UserDefaults (how to remember user selections)
Переглядів 3392 роки тому
Swift - UserDefaults (how to remember user selections)
SpriteKit Collisions in a Character Game with Multiple Scenes
Переглядів 2,4 тис.2 роки тому
SpriteKit Collisions in a Character Game with Multiple Scenes
C - Reading/Writing 2D Arrays
Переглядів 7952 роки тому
C - Reading/Writing 2D Arrays
SpriteKit Game - Coin Collecting Game
Переглядів 4652 роки тому
SpriteKit Game - Coin Collecting Game
Swift Classes - Beginner Tutorial
Переглядів 792 роки тому
Swift Classes - Beginner Tutorial
Functions in Swift
Переглядів 612 роки тому
Functions in Swift
Introduction To Swift
Переглядів 1642 роки тому
Introduction To Swift
Python Minesweeper Program in Less than 20 minutes
Переглядів 4,5 тис.2 роки тому
Python Minesweeper Program in Less than 20 minutes
Unity - Multiple Sounds On A Button (Quiz Game Application)
Переглядів 6512 роки тому
Unity - Multiple Sounds On A Button (Quiz Game Application)

КОМЕНТАРІ

  • @willzstone
    @willzstone 9 днів тому

    Is it possible to use this method to play an animation once on input?

  • @cl2401
    @cl2401 9 днів тому

    thank you thank you. Helped me a lot

  • @Poom006
    @Poom006 11 днів тому

    I never know that recursive function can also solve problems like this. Thank for your comprehensive explanation.

  • @ArjunVerma-z5t
    @ArjunVerma-z5t 20 днів тому

    Bhaii u rescued me, thanks a ton

  • @marcellonovak7271
    @marcellonovak7271 27 днів тому

    very swag very cool

  • @BenjaminBroderick-q4v
    @BenjaminBroderick-q4v 28 днів тому

    53631 Nienow Mount

  • @alexmubita8221
    @alexmubita8221 Місяць тому

    Well thank you very much 🙏🙏🙏

  • @devoiddude
    @devoiddude Місяць тому

    is that an online editor you're using ?

  • @anshpuri1963
    @anshpuri1963 Місяць тому

    Amazing video.

  • @maxpro3493
    @maxpro3493 2 місяці тому

    thank you so much, I couldn't find any other video talking about this. I was just about to quit

  • @devanshrangan
    @devanshrangan 2 місяці тому

    Awesome tutorial, keep it up!

  • @adounakebe2546
    @adounakebe2546 2 місяці тому

    I am the 330th like from Senegal.

  • @alwuVEVO
    @alwuVEVO 2 місяці тому

    very useful, thanks

  • @Peaceful_Lab
    @Peaceful_Lab 3 місяці тому

    thank u

  • @andredcavalcante
    @andredcavalcante 3 місяці тому

    Or... just read a string and parse the integer. That is the easier way. scanf is not intended to be used as user input. scanf is a formatted input and, such as, you need to know all types of the input and the sequence of their occurrence. And that info is into the man page. C is not for beginners!

  • @GaryChike
    @GaryChike 3 місяці тому

    Very accessible and clear explanation! Thank you!

  • @user-vs9uf3ny8z
    @user-vs9uf3ny8z 3 місяці тому

    Question, since appending to list is linear time, whereas prepending would be constant, was the choice for the former meant to illustrate list traversal? Just curious since it seems simpler conceptually simpler and more performant to prepend. Thanks so much for your videos btw! Really appreciate the format and work you've put into them

    • @PainlessProgramming
      @PainlessProgramming 3 місяці тому

      That is a fantastic observation. Yes, in my example, insertion is O(n) because of the list traversal. You are correct, that putting the new item at the front would be O(1) and a good performance improvement if you do not need to keep the linked list in order of found Easter Eggs. Another way to do this would be to keep a pointer to the end of your linked list if you know that you will be frequently inserting to the end. Thanks for watching and commenting!

    • @user-vs9uf3ny8z
      @user-vs9uf3ny8z 3 місяці тому

      @@PainlessProgramming for sure, that makes sense. thanks for the reply and again for all your excellent instructional material!

  • @gabacat
    @gabacat 4 місяці тому

    Thank you so much!

  • @JohannesDavidsen2024
    @JohannesDavidsen2024 4 місяці тому

    Can python script use this as sector writer ? As hard drive manipulation it would be helpful if this can be used as output writer into hard drive sector 😅

  • @RodrigoVieiradaCosta
    @RodrigoVieiradaCosta 4 місяці тому

    Great! Thanks for this tutorial!

  • @shobharaniheddula6049
    @shobharaniheddula6049 5 місяців тому

    Hello i am from india,i'm a first year student in my college, i just started learning C++ and i completed learning upto functions, i understood your video very well, thanks a lot and also give me some tips to become a proficient programmer, please continue this series, ill recommend to my friends also.

    • @PainlessProgramming
      @PainlessProgramming 5 місяців тому

      I did not know I had any viewers from India. Thanks for watching. Best of luck in college.

    • @shobharaniheddula6049
      @shobharaniheddula6049 5 місяців тому

      @@PainlessProgramming Thanks

  • @GaryChike
    @GaryChike 5 місяців тому

    Very nice tutorial! Next step: adding some cool graphics with PyGame!

  • @SymereTesfaye
    @SymereTesfaye 5 місяців тому

    Thank you so much

  • @SymereTesfaye
    @SymereTesfaye 5 місяців тому

    oh my god i hope you win a billion dollars in the lottery

  • @GaryChike
    @GaryChike 5 місяців тому

    Very nice .. my son is learning Python 🐍

  • @jell._.y
    @jell._.y 5 місяців тому

    you're amazing 😭. others use all the most complicated methods they could come up with it, but this really isn't so, painful, to code 💖

  • @Autotrope
    @Autotrope 6 місяців тому

    Good tutorial, it's very surprising it didnt have many views.

  • @sukainaamin-jx7je
    @sukainaamin-jx7je 6 місяців тому

    oHiO w

  • @ziadtalaat4
    @ziadtalaat4 6 місяців тому

    so helpful thanks miss💗

  • @alchemystgames3229
    @alchemystgames3229 6 місяців тому

    OMG, I swear I was trying to find a function like this, you are a lifesaver

  • @knodesec
    @knodesec 6 місяців тому

    Python is really slow for this simple task 😅

  • @akhmettolepov9177
    @akhmettolepov9177 7 місяців тому

    omg that was so helpful!!!

  • @Metkata999
    @Metkata999 7 місяців тому

    Very helpful😊

  • @moonlightsemislowed
    @moonlightsemislowed 7 місяців тому

    how about if i entered a combination of numbers and letters? my program requires integers. for example, i put "98eg" it should return an error too. but when i entered 98 only, it'll perform what my program is supposed to do

  • @murtajiz545
    @murtajiz545 7 місяців тому

    This was an awesome video! Is it possible for you to make a video covering segues? Would love to hear your take on them 🙌🏽

  • @Toothless_Rides
    @Toothless_Rides 8 місяців тому

    Needed a better understanding on this topic. Thanks! You earned another sub. Please keep teaching!

  • @raghavgohil2004
    @raghavgohil2004 8 місяців тому

    Thank you sooo much for this video!

  • @dishtroyer142
    @dishtroyer142 8 місяців тому

    Everyone needs to see this video! Most people thinks that IA is this all-knowing entity thats gonna enslave humanity, when its only a tool, its excellent for producing mediocre stuff but when you need something a little bit more deep It start giving you random shit 😂

  • @williamapilado7344
    @williamapilado7344 9 місяців тому

    with this operators you can create a binary calculator.

  • @TheRicherthanyouguy
    @TheRicherthanyouguy 9 місяців тому

    Thank you very much extremely handy :)

  • @ilyassilyass9608
    @ilyassilyass9608 10 місяців тому

    Exactly what I've been looking for not more not less, thanks

  • @bidogo
    @bidogo 10 місяців тому

    This is great :D Thank you for the video!

  • @netanel8334
    @netanel8334 10 місяців тому

    do you know a way to change the frequency of the sound?

  • @hanik4700
    @hanik4700 10 місяців тому

    Really helped me understand. Thanks!

  • @OrbitZeroStudios
    @OrbitZeroStudios 10 місяців тому

    Easiest Tutorial on the internet.

  • @yahsaikol6279
    @yahsaikol6279 11 місяців тому

    oooooooooh Thank you for this tutorial Sensie, it's work for me.🤩

  • @kingtimon1362
    @kingtimon1362 11 місяців тому

    How do I write a string and other data types?

  • @mrprezident0
    @mrprezident0 Рік тому

    Hey Heather! I just searched for "python hex editor" and this was the first thing that came up! Very cool. I didn't even know you were a computer science teacher.

    • @PainlessProgramming
      @PainlessProgramming Рік тому

      it's a small world! Thanks for checking out my channel. Happy Juggling.

  • @yolamontalvan9502
    @yolamontalvan9502 Рік тому

    You’re the best, girl. Thank you.