(CS50) SPELLER - PROBLEM SET 5 | SOLUTION

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 33

  • @DorsCodingSchool
    @DorsCodingSchool  Рік тому +1

    👨‍💻 Learn How to Code with Private Classes - www.dorscodingschool.com/coachingplans
    ❓Having a hard time with CS50, FreeCodeCamp or Odin Project? Practice with our exclusive free coding platform: www.codingdors.com/
    🎯 Are You A Coding Expert? Take Our Free Quiz and Find Out - www.dorscodingschool.com/quiz

  • @tewmat7358
    @tewmat7358 8 місяців тому +4

    seu inglês é muito bom, e seu raciocínio é melhor ainda!! obrigado pelo conteúdo, estava ficando maluco tentando ensinar isso pra mim mesmo hahaha

  • @Music-Books
    @Music-Books Рік тому +3

    I don't fully understand why 'make dictionary' won't work to compile, but this tutorial fixed my last problems. I'm so happy to be done with this that I'm actually crying. Thank you.

  • @colmduffy2272
    @colmduffy2272 Рік тому +3

    this video was pretty helpful. Worth spending a little time on that hash function, and ways to implement it. Managed to get a faster time that the staff solution, which I was pretty proud of :)
    WORDS MISSPELLED: 955
    WORDS IN DICTIONARY: 143091
    WORDS IN TEXT: 17756
    TIME IN load: 0.02
    TIME IN check: 0.03
    TIME IN size: 0.00
    TIME IN unload: 0.01
    TIME IN TOTAL: 0.05

  • @GenZ_01_
    @GenZ_01_ Місяць тому +1

    great content thanks!

  • @shawnburns6644
    @shawnburns6644 Рік тому +2

    Thank you so much for this video! I couldn't figure this one out

  • @AileenDaw
    @AileenDaw 7 місяців тому +1

    Muito obrigada! Ajudou bastante =)

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

    Thank you for the clear explanation

  • @brmabeatz3495
    @brmabeatz3495 2 роки тому +6

    did we forget to free temp from the malloc? I followed along and it all passed except for the program has memory errors?

    • @DorsCodingSchool
      @DorsCodingSchool  2 роки тому +1

      We have a Telegram Group to help people learn how to code and where you can connect with learners from all over the world. Over there you can ask any question about programming and you can easily get your questions answered within 24 hours.
      Besides that, you will have access to our membership with more than 400 problems made by us to ease your learning curve and 2 hours of group coaching every week!
      Check www.dorscodingschool.com/products

  • @karimal-mufakkir4041
    @karimal-mufakkir4041 7 місяців тому +1

    Very thanks to you!

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

    12:06 line 68 of your code, I believe you forgot to access the next attribute of the head node when checking to see if it is NULL. I believe it should be: if(table[hashnum]->next == NULL)

  • @hlchoco7395
    @hlchoco7395 Рік тому +1

    At the end of the load function, besides closing the file, why do we not need to also free the temp node?

  • @arslanbaig7095
    @arslanbaig7095 Рік тому +2

    we dont have a file name dictionary, we have a folder name dictionaries with two file small & large

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

      You should work with those files then :) I believe they updated the problem from last year

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

      you do, see at top of speller.c
      #define DICTIONARY "dictionaries/large"

  • @NadimEl-Awar
    @NadimEl-Awar Рік тому

    This message is for Giovanna. Followed your video on the speller problem set. My code seems to work well except for one error after I ran make speller. Code: FILE *DictionFile = fopen(dictionary, 'r'); Error: incompatible intenger to pointer conversion passing 'int' to parameter of type ' const char *' Any help will be appreciate it. Thanks

    • @Stephane-r4c
      @Stephane-r4c Рік тому

      This error occurs when there is an incompatible integer to pointer conversion. In this case, it is caused by passing an 'int' value instead of a 'const char *' (string) value to the fopen function. The fopen function expects a string (file name) as the first argument, but an integer value was provided instead.

  • @lucianevasconcelos392
    @lucianevasconcelos392 Рік тому +1

    oie faz a resolucao de credito e caesar a sua explicação é ótima

  • @lukinhasvmg
    @lukinhasvmg Рік тому +1

    should the variable "countWord" be really a const?

    • @DorsCodingSchool
      @DorsCodingSchool  Рік тому +1

      It is an unsigned int if you check our solution :)

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

      @UCD%F0%9F%98%9Ce_yod9jfnAgbcRkyAFhpQ well, you wrote it as a const but i didn't do that ..however, u are amazing and so pretty as well

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

      @@DorsCodingSchool well, you wrote it as a const but i didn't do that ..however, u are amazing and so pretty as well

  • @NadimEl-Awar
    @NadimEl-Awar Рік тому

    Just realized my mistake "r" not 'r' in the fopen function.

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

    WORDS MISSPELLED: 955
    WORDS IN DICTIONARY: 143091
    WORDS IN TEXT: 17756
    TIME IN load: 0.03
    TIME IN check: 0.02
    TIME IN size: 0.00
    TIME IN unload: 0.02
    TIME IN TOTAL: 0.06

  • @CidiousX
    @CidiousX Рік тому +1

    Love the explanations but can you please stop saying LinkED lists.. it's a silent E. I can't unhear it anymore.

    • @nnadivictorc
      @nnadivictorc Рік тому +1

      Can you stfu, mind your business and appreciate that English is not everyone's first language? If you got the meaning of the word, why do you care what it sounds like?

    • @vaivamarija8961
      @vaivamarija8961 Рік тому +28

      lol get over it.

    • @Franalations1
      @Franalations1 Рік тому +18

      The nerve of this person lol

    • @taasinbinhossainalvi9173
      @taasinbinhossainalvi9173 11 місяців тому +2

      Get a load of this guyy