top of page


Golang - What is go:embed Directive in Go?
The first thing we need to know is that, the go:embed is a compiler directive. What this means is, all of the processing that happens when

Ashwin Shirva
Sep 24, 20235 min read
372 views
1 comment


Go Generics - Everything You Need To Know
Generics is a programming language paradigm that gives us a way to write code that is not tied to any specific type. It gives us the ability

Code Recipe
Jun 2, 202213 min read
1,758 views
1 comment


3 Sum - Leetcode #15 Short & Simple Solution
Given an array of integers, nums, return all the triplets in the given array nums[i], nums[j], nums[k] such that i != j, i != k, and j != k

Code Recipe
Jan 24, 20228 min read
82,337 views
6 comments


Reverse Integer - Leetcode #7 Short & Simple Solution
Given a 32-bit signed integer x, reverse the digits in x and return the result. If after reversing the result goes outside the signed 32-bit

Code Recipe
Dec 31, 20214 min read
23,903 views
1 comment


Palindrome Number - Leetcode #9 Short & Simple Solution
Given an integer x, return true if x is a palindrome integer.
An integer is a palindrome when it reads the same backward as forward.

Code Recipe
Dec 30, 20216 min read
68,260 views
7 comments


Binary Search: Searching Made Easy
Binary search works only sorted arrays. Binary search divides the given array in the middle into two halves. Hence the name binary search.

Code Recipe
Dec 18, 20216 min read
21,287 views
0 comments
bottom of page