CodeWithWho

@CodeWithWho

Building software that solves real problems. Software Engineer | Frontend | Backend Shipping ideas to the internet.

158 Seguiti99 Follower930 Post
  1. CodeWithWho@CodeWithWho
    Yesterday I wore an article on how my last week went Its is posted on LinkedIn
    017247
  2. CodeWithWho@CodeWithWho
    Intersection means unique common values. If 3 is already in the result, another 3 should not be added again. #arrays #algorithms Watch:
    Scarica
    0003
  3. CodeWithWho@CodeWithWho
    Once A[i] matches something in B, existence is confirmed. Add it and stop scanning for that candidate. #algorithms #python Watch:
    Scarica
    0002
  4. CodeWithWho@CodeWithWho
    n ≈ m means roughly the same scale, not exactly equal. Example: 1,000 vs 1,200 elements. #algorithms Watch:
    Scarica
    0005
  5. CodeWithWho@CodeWithWho
    Brute force remembers used positions. Hashing remembers remaining quantity. The better representation removes repeated discovery. #optimization #hashtables Watch:
    Scarica
    0004
  6. CodeWithWho@CodeWithWho
    Every character in L may scan all of M: O(l × m), or roughly O(n²) when both inputs are similar in size. #bigO #algorithms Watch:
    Scarica
    00017
  7. CodeWithWho@CodeWithWho
    Brute force repeatedly searches M. Hashing builds inventory once and consumes it. Same answer, much less repeated work. #algorithms #hashtables Watch:
    Scarica
    0004
  8. CodeWithWho@CodeWithWho
    Optimized debugger: watch the current char and char_count. Those two values show supply being built and consumed. #python #debugging Watch:
    Scarica
    0001
  9. CodeWithWho@CodeWithWho
    Ticket inventory uses the same idea: Standard→120, VIP→15, then bookings consume the counts. Resource → quantity → demand. #softwareengineering Watch:
    Scarica
    0005
  10. CodeWithWho@CodeWithWho
    Count already zero and demand asks for another unit? Fail immediately. No need to search for inventory we already know is gone. #hashtables #optimization Watch:
    Scarica
    0003