# Category: Golang

## Leetcode Problem 32: Trapping Rain Water in go

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. Example: Input: [0,1,0,2,1,0,1,3,2,1,2,1] Output: 6… Read more »

## Problem: Container With Most Water

Container With Most Water Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0)…. Read more »

## How to Use Websockets in Golang : Best Tools and Step-by-Step Guide

Sending a message and getting an instant response without refreshing the page is something we take for granted. But in the past, enabling real-time functionality was a real challenge for… Read more »

## Go Slices Demystified

Slices are one of those types in Go that take a little bit of time and hands-on experience to really wrap your head around. There is a lot of material… Read more »

## Writing Serverless Services in Golang

Project Structure The way I structure more complex projects, tend to follow the suggested Go project structure, and Uncle Bobs clean architecture. This may seem overkill for the size of… Read more »

## Rearrange linked list into an alternating high – low values

Daily Coding Problem: Problem #256 [Medium] Given a linked list, rearrange the node values such that they appear in alternating low -> high -> low -> high … form. For example, given 1 -> 2… Read more »

## How to write production-ready go program

Go (also known as Golang) is an open-source programming language developed by Google. It is a statically-typed compiled language. Go supports concurrent programming, i.e. it allows running multiple processes simultaneously…. Read more »