Posts

Balacing brackets

Balancing brackets = checking whether every opening bracket has a matching closing bracket in the correct order. Types usually considered: () [] {} Core idea (stack method) Use a stack : Read characters left → right. If opening bracket → push onto stack. If closing bracket → stack empty → invalid top doesn’t match → invalid else pop. End → stack must be empty. Time: O(n) Space: O(n) Example Input: {[()]} Process: { push [ push ( push ) pop ] pop } pop Stack empty → balanced. Python (clean version) def is_balanced(s): stack = [] pairs = {')': '(', ']': '[', '}': '{'} for ch in s: if ch in "([{": stack.append(ch) elif ch in ")]}": if not stack or stack[-1] != pairs[ch]: return False stack.pop() return len(stack) == 0 Edge cases people miss "(]" → order mismatch "((("...

get icons free

Image
As a desingner we often need fee icons for free here are the website which offer few of their assets for free which designers can utilize for desinging their app, website or any other app iconfinder.com Your Heading Your Heading

few latest blogs

These are few latest article links that contribute to tech would 1. Learn in  your free time. 2.  These are few latest blogs and inspiration  1.  google cloud blog   2. 

learn dsa online

Codechief Lean DSA *  DSA code chief problems * https://www.codechef.com/LEARNDSA
choosing correct programming language for your need based on performance. Is there any programming language with good performance and syntax? Fortran vs C++, does Fortran still hold any advantage in numerical analysis these days?

Competitive programming language with c++

 Competitive Programming language with c++ significance of ios basesync with stdio false cin tienull geekforgreek

Btech scholarships in india

 1. IET sholarship awards 2022 Go to official site : click here eligibility: 1.all technical campus student 2. 2.

vim

Vim These contains all the quick questions for a user just starting with vim and respective links of solutions for those questions or satisfactory anwsers from community. this is a best list of websites that I found online.I arranged in an order.If you like then do like to comment. Questions vim Learning steps - Jorengarenar how to use vim editor – Complete Guide quick Vim Script Tutorial Start Learning vim By Quiz -By Morzel vim-adventure a Game how to use vim editor – Complete Guide free book to learn vim -By Steve Losh Book Name  : Learn Vimscript the Hard Way How to execute file I'm editing in Vi(m) How can I constantly see the current filename in vim? customize your status bar get line number on status line" howto get copy paste from system clipboard how can i automatically highlight or fix verb tenses IF any suggestions or opinions comment down quickly

Gimp

previous Gimp Tutorials next Adding border To image Read time: 2 min This Article is all about how to add white border to images in gimp steps to be followed: Quick Steps: revert whiteblack convert borders white Below steps help to get quiquickly form