Logo
The code works on my machine :shrug:
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Two pointers Memes

Posts tagged with Two pointers

Every Single Leetcode Problem

Algorithms Java Programming Python C++
1 month ago 99.2M views 0 shares
Every Single Leetcode Problem
You thought you were getting a nice easy array manipulation problem? Think again. Somehow, someway, the optimal solution always involves a sliding window algorithm. It's like the universe conspired to make sure that every coding interview requires you to remember that one technique you learned once and promptly forgot. Two pointers moving in sync? Check. O(n) time complexity? Check. Your sanity slowly slipping away as you try to figure out which pointer goes where? Double check. The sliding window is the duct tape of algorithm interviews - if brute force doesn't work, just slide a window across it and call it optimization. String problems? Sliding window. Subarray problems? Sliding window. Finding your will to live during technical interviews? Probably also sliding window.

Today's picks

Oh Boy

Oh Boy

Debugging
195.5M views 8 days ago
NordVPN

NordVPN

Sponsored
VPN
EpicMugs There Are 10 Types Of People In This World, Those Who Understand Binary And Those Who Don't. Mug - 11 Oz Ceramic Coffee Mug Tea Cup - Best Funny And I

EpicMugs There Are 10 Types Of People In This World, Those Who Understand Binary And Those Who Don't. Mug - 11 Oz Ceramic Coffee Mug Tea Cup - Best Funny And I

Affiliate
$14.95