Score of The String : LeetCode [ 3110 ]You are given a string s. The score of a string is defined as the sum of the absolute difference between the ASCII values of adjacent characters. Neighbour means one character to the left and one character to the right of a character i.e; neighbour o...May 30, 2024 · 2 min readawadh.hashnode.dev
What id Dutch Flag Algorithm ? || What is Dutch National Flag Algorithm ?What is Dutch Flag Algorithm ? The term is most commonly associated with the Dutch National Flag problem, which is a well-known algorithmic problem formulated by computer scientist Edsger W. Dijkstra. The problem involves sorting an array containing ...May 29, 2024 · 4 min readawadh.hashnode.dev
What is Emmet ? What is Zen Coding ?Why is Zen Coding ?Emmet is like a magic shortcut for writing HTML and CSS code. Instead of typing out long and repetitive code, you can use Emmet abbreviations to quickly generate and expand your code. It's like having a secret language that makes coding faster and ea...May 7, 2024 · 4 min readawadh.hashnode.dev
Cracking the Coding Interview | Problem #1.1 | By Awadh Kishor SinghIs Unique: Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? Approach 1 : One common approach to solving this problem is to use additional data structures, such as a hash tab...May 5, 2024 · 3 min readawadh.hashnode.dev