vinay

vinay @vinaygo

Joined:
Jul 22, 2022

vinay
articles - 13 total

Concurrency Merge Sort Using Channels and Goroutines in Golang

Merge sort is a divide and conquer algorithm used to sort a list of elements. The algorithm starts by...

Learn More 2 0Feb 11 '23

How to remove a specific character from the string in Golang?

note: 1:This removes bytes from strings. If your string has characters that are encoded as multiple...

Learn More 9 0Dec 1 '22

Polymorphism in Golang

1. package main import "fmt" //creating class type PersonClass struct { name string age...

Learn More 2 3Nov 15 '22

How to insert element at any position in Slice Golang

func Insert(array []int, element int, i int) []int { return append(array[:i],...

Learn More 4 0Nov 11 '22

Golang TwoSum

package main import ( "bufio" "fmt" "log" "os" "strconv" "strings" ) func...

Learn More 2 0Oct 26 '22

How to generate golang unit test code in VS code

Go for Function name --->right click and in that we have so many option--->select --go:...

Learn More 3 0Oct 21 '22

How to Delete Duplicate Numbers in Golang

func Set(arr []int) []int { for i := 0; i < len(arr); i++ { for j := 0; j <...

Learn More 1 0Oct 20 '22

how to delete the Element in slice using Slice Golang

//how to delete the Number in Slice Golang a := []int{10, 20, 30, 40, 50, 60, 70, 80, 90} ...

Learn More 1 0Oct 20 '22

Singly ,Doubly ,Circular Linked List in golang....

**Types of Linked List - Singly linked, doubly linked and circular In this tutorial, you will learn...

Learn More 1 0Sep 16 '22

sorting golang

package main import ( "fmt" "math" ) func LinearSarch(a []int, key int) string { point...

Learn More 0 2Sep 7 '22

LinearSearch Golang

package main import ( "fmt" "strconv" ) func LinearSearch(a []int, k int) string { i...

Learn More 3 0Sep 6 '22

Linked list golang and python

class Node: def __init__(self,value): self.value = value self.adress=None #...

Learn More 3 0Sep 5 '22

makefile:2: *** missing separator. Stop.

example my folder have python file: p1.py makefile inside makefile: run: python...

Learn More 7 0Aug 9 '22