Max DeMaio
Max DeMaio
  • Видео 16
  • Просмотров 31 244
LeetCode String to Integer (atoi) | Java
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_java/src/com/eta/StrToIntAtoi.java
My links:
Website - maxwelldemaio.github.io/
GitHub - github.com/maxwelldemaio
LinkedIn - www.linkedin.com/in/maxwell-demaio/
Twitter - maxwelldemaio
Просмотров: 3 457

Видео

LeetCode Reverse Linked List | JavaLeetCode Reverse Linked List | Java
LeetCode Reverse Linked List | Java
Просмотров 433 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_java/src/com/eta/ReverseLinkedList.java My links: Website - maxwelldemaio.github.io/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Twitter - maxwelldemaio
MySQL Update and Delete Statement TutorialMySQL Update and Delete Statement Tutorial
MySQL Update and Delete Statement Tutorial
Просмотров 343 года назад
Link to the repository: github.com/maxwelldemaio/databaseManagement/blob/master/ordersDelete.sql Link to my blog post: maxwelldemaio.github.io/blog/2021/07/14/mysqlCrudBasics.html My links: Website - maxdemaio.herokuapp.com/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-d... Twitter - maxwelldemaio
MySQL Insert Statement TutorialMySQL Insert Statement Tutorial
MySQL Insert Statement Tutorial
Просмотров 313 года назад
Link to the repository: github.com/maxwelldemaio/databaseManagement/blob/master/ordersInsert.sql My links: Website - maxdemaio.herokuapp.com/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Twitter - maxwelldemaio
MySQL Create Statement TutorialMySQL Create Statement Tutorial
MySQL Create Statement Tutorial
Просмотров 553 года назад
Link to the repository: github.com/maxwelldemaio/databaseManagement/blob/master/Module3/module3ExtraPracticeProblems.sql My links: Website - maxdemaio.herokuapp.com/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Twitter - maxwelldemaio
LeetCode Number of 1 Bits | PythonLeetCode Number of 1 Bits | Python
LeetCode Number of 1 Bits | Python
Просмотров 733 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_py/HammingWeight.py My links: Website - maxdemaio.herokuapp.com/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Twitter - maxwelldemaio
LeetCode Hamming Distance | PythonLeetCode Hamming Distance | Python
LeetCode Hamming Distance | Python
Просмотров 1243 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_py/HammingDistance.py My links: Website - maxdemaio.herokuapp.com/ GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Twitter - maxwelldemaio
LeetCode Min Stack | JavaScriptLeetCode Min Stack | JavaScript
LeetCode Min Stack | JavaScript
Просмотров 2163 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_js/MinStack2.js My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/ Useful video to learn function prototyping (part of a Net Ninja series): ruclips.net/video/4jb4AYEyhRc/видео.html
LeetCode Longest Common Prefix | JavaScriptLeetCode Longest Common Prefix | JavaScript
LeetCode Longest Common Prefix | JavaScript
Просмотров 3713 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_js/LongestCommonPrefix2.js My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
LeetCode First Bad Version | JavaScriptLeetCode First Bad Version | JavaScript
LeetCode First Bad Version | JavaScript
Просмотров 1,4 тыс.3 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_js/FirstBadVersion.js My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
LeetCode Contains Duplicate | JavaScriptLeetCode Contains Duplicate | JavaScript
LeetCode Contains Duplicate | JavaScript
Просмотров 2,7 тыс.3 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_js/Duplicates.js My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
LeetCode Remove Duplicates from Sorted Array | JavaScriptLeetCode Remove Duplicates from Sorted Array | JavaScript
LeetCode Remove Duplicates from Sorted Array | JavaScript
Просмотров 973 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_js/RemoveDuplicates.js My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
LeetCode Subarray Sum Equals K Solution Explained | PythonLeetCode Subarray Sum Equals K Solution Explained | Python
LeetCode Subarray Sum Equals K Solution Explained | Python
Просмотров 1253 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_py/SubarraySumK.py My links: Website - maxdemaio.herokuapp.com/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
Making an Excel Ribbon App | VBAMaking an Excel Ribbon App | VBA
Making an Excel Ribbon App | VBA
Просмотров 22 тыс.3 года назад
Link to the all the code in this video: github.com/maxwelldemaio/demos/tree/main/excel-app-tut Example of a finished Excel ribbon application: github.com/maxwelldemaio/vb-add My links: Website - maxwelldemaio.github.io/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/
LeetCode Reverse String Solution Explained | PythonLeetCode Reverse String Solution Explained | Python
LeetCode Reverse String Solution Explained | Python
Просмотров 404 года назад
Link to the solution: github.com/maxwelldemaio/practiceProblems/blob/master/leetcode_py/ReverseString.py My links: Website - maxwelldemaio.github.io/ Twitter - maxwelldemaio GitHub - github.com/maxwelldemaio LinkedIn - www.linkedin.com/in/maxwell-demaio/

Комментарии

  • @17avskadoo
    @17avskadoo Месяц назад

    Thanks that's great

  • @loryhoof
    @loryhoof 5 месяцев назад

    My brother I know it's been 3 years but this is supposed to be in constant time O(1). Your implementation of the getMin is O(n) afaik

    • @maxwelldemaio
      @maxwelldemaio 5 месяцев назад

      Yeah I think they may have changed the problem description over the years. In order for all the operations to be O(1) it looks like you'd just need to make sure when you push you're keeping track of the min value in the stack ~ leetcode.com/problems/min-stack/solutions/49010/clean-6ms-java-solution/

  • @kvcsoliver
    @kvcsoliver 5 месяцев назад

    This is a really nice and easy to follow video, it works wonderfully in Excel. Unfortunately I wanted to use it in PowerPoint. You can do all the steps, but when you open the module from ppa/ppam (which is similar to xla) file it doesn't get loaded into the modules. Does anyone have any idea how to solve this issue? Thank you in advance!

  • @tubeshaala
    @tubeshaala 6 месяцев назад

    I wanted to make the Macro (Excel Add-In) a part of the customized ribbon exactly following the steps suggested by you. Despite that I have loaded the .xlam file, I am unable to find it listed under the Customize the Ribbon >> Choose Command from >> macros. I have tried so many things but not worthy. Please help to resolve.

  • @typesafeui
    @typesafeui 6 месяцев назад

    Thanks I just got my first VBA job thanks to this!!!

    • @vivvpprof
      @vivvpprof 6 месяцев назад

      What's the job description, what does it entail?

  • @vitorbunkenburg226
    @vitorbunkenburg226 Год назад

    He Max, thank you for this video. I'm trying to make a Macro on Ribbon that hides certain rows. As a "regular" button on the excel it works, but when I try doing it on the Ribbon it does not work. Any advice or would you be keen to make a video about it?

    • @maxwelldemaio
      @maxwelldemaio Год назад

      Hey! Without looking at the code for the Macro I'm not sure what the issue would be. But, if you have it working as a "regular" button that points to your VBA code that's a great start. My thought is to make sure that the button on the Ribbon properly points to the VBA subroutine you are trying to execute. I'd give it a shot with a couple smaller examples that maybe just change the color of a cell to make sure your Ribbon works properly 🤔 It's been a while since I've done VBA but hope this helps.

  • @udaykulkarni5639
    @udaykulkarni5639 Год назад

    Bro, The quality is exceptional. Why did you stop! It's awesome

    • @maxwelldemaio
      @maxwelldemaio Год назад

      Thanks so much! I appreciate the positive feedback 😁 Mostly work/side projects have been occupying my time. But I would love to get back into making videos soon!

    • @udaykulkarni5639
      @udaykulkarni5639 Год назад

      @@maxwelldemaio yep would love to see more problems. Earned a sub. Cheers! :)

  • @PGOFFINBE
    @PGOFFINBE Год назад

    Hey Max, Your video is supposed to explain how to customise the ribbon and assign new menu items to a code like a macro or something. But then you spend most of your video explaining your sub routines which is not the purpose ... What be great to focus on the subject, kr

    • @maxwelldemaio
      @maxwelldemaio Год назад

      Hey there, I did explain how to make an Excel ribbon application. The options link to sub-routines which you can customize for yourself. If you didn't enjoy the video, feel free to find a different one on RUclips.

    • @theexcelproject6973
      @theexcelproject6973 Год назад

      ​@@maxwelldemaioIgnore this guy brother. I love your content. Btw, I know the answer to this is no but is there a git that can help me do this for Mac machines? Thanks

    • @maxwelldemaio
      @maxwelldemaio Год назад

      @@theexcelproject6973 When you say Git do you mean a GitHub project? If so, I do have an open-source repository with a bunch of useful macros I have programmed: github.com/maxdemaio/vb-add

  • @Cryptomeyr
    @Cryptomeyr Год назад

    good

  • @staybalancedn
    @staybalancedn Год назад

    I like how you setup the debugger so it's easy to see how things change. Do you have a video on how you set that up? or one that you referenced? Thanks in advance

    • @maxwelldemaio
      @maxwelldemaio Год назад

      I think in VS-Code you should be able to debug any standalone JavaScript file! As long as you set break points, you'll be able to analyze the call stack and local/global variables 😁

  • @davidcastro6836
    @davidcastro6836 Год назад

    how can you return the highest value in the table? like if you had 6 counts(highest) of the number 5, how would you return the number 5?

  • @JenniferElliottWebsites
    @JenniferElliottWebsites 2 года назад

    how does the array get into hTable, it is empty

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      The way the array gets into the hash table / object / dictionary (whatever you'd like to call it by) is on line 10. We set a key equal to the current item in the array during the for loop and the value to 1. If we ever find a key (item in the array) we've seen already (present in the hash table), we return true. It doesn't matter what the value is bc we're just indexing on keys so I just put the value to 1 😁

    • @techtalk933
      @techtalk933 Год назад

      in line number 10 why you adding 1 in the end @@maxwelldemaio

  • @MyLoweLife
    @MyLoweLife 2 года назад

    Super simple explanation. I was confused as hell between hmaps and tables and when you said object it clicked for some reason today. I hope this saves me on my interview tomorrow lol Cheers!

  • @pratikpurohit2495
    @pratikpurohit2495 2 года назад

    Great work! I have been looking for this for a long time. Thanks. is it possible to use this add-in on different computers?

    • @pratikpurohit2495
      @pratikpurohit2495 2 года назад

      If yes, could you please share the steps or share a video of that too.

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      Hey! Yes you can use it on different computers. You could move the xla file across devices as needed 😁 Basically once the file has been moved, I'd repeat the steps shown here to get it to work!

    • @pratikpurohit2495
      @pratikpurohit2495 2 года назад

      @@maxwelldemaio Thanks, it was very helpful.

  • @codingismyreligion
    @codingismyreligion 2 года назад

    bravo *clap clap*

  • @astronaut22
    @astronaut22 2 года назад

    In above example this is factory function or normal function which returns function

  • @Satenc0
    @Satenc0 2 года назад

    cant understand at the end when you do s.charAt(i++), why it is not s.charAt(i)?

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      This is post incrementing, so after the character at index i is fetched, it will increase i by 1. This is so it iterates over all characters!

    • @Satenc0
      @Satenc0 2 года назад

      @@maxwelldemaio ok i think i get it, so you are actually getting charAt(i), and after that you icnrement i++? didnt know it was possible to do it like that in the same statement

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      @@Satenc0 Yes that's correct!!

    • @Satenc0
      @Satenc0 2 года назад

      @@maxwelldemaio yess it was nice explanation, was only able to understand the solution with your code, would be nice if you make a video explaining also exercise #10 on leetcode, struggling alot on that one, and the explanations i find, cant really understand

  • @little_bit_of_every_thing
    @little_bit_of_every_thing 2 года назад

    thanks for the video man

  • @harshit2936
    @harshit2936 2 года назад

    I have created an excel add-in and I want to use it on other PC too. How can I keep the same UI installed on other PC while adding my add-in?

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      To my knowledge there isn't a way to do so. You can export your ribbon from the PC that has the add-in. However, within that exported file will be hardcoded filepaths to the Macros on that PC (you can check by opening it in a text-editor). You can import the exportedUI file to your new PC, but none of the buttons will work because they will be pointing to incorrect filepaths. You can always move your macros onto the new PC, and just take a little time to remake the ribbon.

  • @hamme72000
    @hamme72000 2 года назад

    Is there a way to display a "ribbon app" only for specific workbook? I want to have certain macros that are only related for specific project.

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      Good question, that one I'm not sure of. However, what I think would be better is if you only want certain subroutines for a workbook, you should save it as a .XLSM file (macro-enabled). This way you can go into the coding environment, code your subroutines, and actually keep them saved for the next time you open the workbook!

  • @qasimsh3469
    @qasimsh3469 2 года назад

    love you bro just save my work hahahaha

  • @timlempicki6343
    @timlempicki6343 2 года назад

    Do yo know of any tools that help you design a ribbon visually? I can create buttons, but it would be nice to do more advanced controls like dropdowns, checkboxes, etc while also picking icons visually.

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      Hi, Tim! To my knowledge, I know you change change the icons of your subroutines by going to the "Customize the Ribbon" setting. As far as drop downs go, that would actually be a type of form the user would interact with. What I've done in the past is displaying a Userform to the user to interact and upon submission the subroutine will execute with the selected parameters!

    • @maxwelldemaio
      @maxwelldemaio 2 года назад

      If you'd like an example of capturing user input, checkout my VBA ribbon application I created called "vb-add" and particularly the subroutine called "rowSpecifyClean" in "Module1.bas" here: github.com/maxwelldemaio/vb-add

    • @timlempicki6343
      @timlempicki6343 2 года назад

      @@maxwelldemaio Thank you so much. I appreciate it.

  • @calebjohnson5438
    @calebjohnson5438 3 года назад

    Well articulated and easy to follow. Thank you sir.

  • @alexandrehaikal9814
    @alexandrehaikal9814 3 года назад

    This really helped me, thank you

  • @maxwelldemaio
    @maxwelldemaio 3 года назад

    Hey all! Quick correction, the decimal value of the character '9' is 57 (misspoke and said 58). Also, when explaining how you'd obtain the decimal value of a character I meant to say the character '6' minus the character '0' would result in the decimal value of 6. Thanks and have a great day! -Max

  • @maxwelldemaio
    @maxwelldemaio 3 года назад

    Quick correction: when I said "instantiated" I should have said "initialized". Explanation of declaration, initialization, and instantiation: stackoverflow.com/questions/2330767/what-is-the-difference-between-instantiated-and-initialized/11423017. Also, another constraint on the problem is that there will be between 0 and 5000 nodes. Anyways, hope you enjoy the data structure/algorithm video!! Have a sweet day. -Max

  • @maxwelldemaio
    @maxwelldemaio 3 года назад

    Quick clarification on my comment on delete statements: The DELETE statement deletes rows from tbl_name and returns the number of deleted rows. If you don't specify a primary key in the main WHERE clause, all rows are deleted. However, the DROP statement when used on a table removes the table definition and all table data. Just wanted to point out the differences between these two DML/DDL statements. That's it! Have a great day. -Max

  • @chocolate_thunder_04
    @chocolate_thunder_04 3 года назад

    Awesome explanation, thank you

  • @maxwelldemaio
    @maxwelldemaio 3 года назад

    Update: Hey everyone! With MS 365, in order to customize the ribbon you can actually right click anywhere in a ribbon tab and click "Customize the Ribbon." Also, while in "Customize the Ribbon" you can export your ribbon as a "exportedUI" file so you can re-import it later on or share with others to import. Keep in mind, the ribbon file will have the hard coded file paths where your functions live. This means, if you wanted to share your ribbon application you should share the "xla" file and not the ribbon file since the filepath of the functions will be specific to your machine. However, if you're in a business setting with a shared drive, if everyone has access to the folder where the functions live you will be A-Okay to share the "exportedUI" file.

    • @tylerharper819
      @tylerharper819 Год назад

      How do I add/link the custom ribbon settings inside the xla file in a global manner, as if its built into the xla file, not referencing it locally or by having to import those settings separately? I want to be able to share my add-in file to a coworker with the custom ribbon and when they enable it in their add-ins, the custom ribbon will appear automatically, as if its a part of the add-in itself. Thank you

    • @bingbongtheory
      @bingbongtheory Год назад

      ​@@tylerharper819I was also hoping to do this, any idea how?

  • @dmdboi
    @dmdboi 3 года назад

    Sweet video! 😄

  • @maxwelldemaio
    @maxwelldemaio 3 года назад

    Hey guys, at the end I said "constant time" however what I meant to say was constant storage. Time complexity of this algorithm would just be the time complexity of binary search, and memory would be constant!

  • @CodeandDream
    @CodeandDream 3 года назад

    This looks complicated hahaha 🤣

    • @maxwelldemaio
      @maxwelldemaio 3 года назад

      Promise it's not as bad as it seems! 😁