← Home

Blogs

Code, Solutions & Discovery.

A public digital garden documenting my journey through bugs, features, and the chaotic beauty of web development.

Filtering: coding
TopicsSort: Newest
All#guide#dsa#algorithms#js#interview#javascript#dom#python#basic#blog#arrays#hashmap#react#hooks#github#mdx#prefixsum#subarray#brute-force#markdown#p5#git#c++#lib#array#regx#advance#stack#ts#nextjs#rss#dev.to#next-api#ssr#seo#cms#optimal#coding#nodejs#automation#blogging#productivity#JavaScript#debounce#throttle#event handling#performance optimization#search input#scroll events#requestAnimationFrame#modern JavaScript#Javascript#event-loop#task-queue#microtasks#macrotasks#async#call-stack#execution-context#web-development#beginner-guide#twopointer#string#slidingwindow#PostgreSQL#PostgreSQL Password Reset#PostgreSQL Windows#Reset Database Password#Postgres Security#Database Administration#psql Tutorial#PowerShell PostgreSQL#PostgreSQL 17
Jun 26, 2025

Find Pair with Given Sum in an Array – Brute-force and Optimal Approaches

Explore how to find two elements in an array that sum up to a target value using brute-force and hash map techniques in both Python and JavaScript.

#algorithms#arrays#hashmap