Akhil Sharma has Published 671 Articles

Golang program to implement a concurrent hash trie

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:24:13

38 Views

Concurrency is crucial to modern programming for enabling efficient use of resources in multi-core systems. Hash tries are associative data structures which provide a scalable and thread-safe handling of large amounts of data concurrently. In this article, we are going to learn to implement a concurrent hash trie in go, ... Read More

Golang program to implement a concurrent hash map

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:19:24

120 Views

Concurrent hash maps can be perceived as efficient data structures for ensuring smooth and parallel execution. Designed to handle concurrent read and write operations efficiently, it is a valuable tool for building highly performant multi-threaded applications. In this article, we learn to implement a concurrent hash map in go. ... Read More

Golang program to implement a Merkle tree

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:17:22

168 Views

A merkle tree is used in cryptography and computer science to verify the authenticity of a data efficiently. Merkle trees are extremely crucial in the fields of cryptography and blockchain technology for ensuring data integrity and security. In this article, we will learn the significance of Merkle trees and to ... Read More

Golang program to implement a Skip List

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:14:18

104 Views

Skip lists are a dynamic data structure which offer efficient insertion, search, and deletion operations. In this article, we will demonstrate the function and explore the algorithmic concepts to implement a Skip List in Go programming language. We are going to write two different examples for this demonstration. In the ... Read More

Golang program to implement a Bloom filter

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:12:12

101 Views

Bloom filters are a space-efficient data structure that find widespread use in various applications involving membership testing. In this article, we are going to explore how to create a Bloom filter in golanguage. Here we are going to write two different examples for this implementation, the first example includes the ... Read More

Golang program to implement a red-black tree

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 15:08:46

59 Views

Red-Black Trees are binary search trees with consistent structure and height balance, capable of self-balancing. They are beneficial in efficient insertion, deletion, and search operations. In this article, we will take an in-depth look at how to implement a red-black tree in golanguage, in the first example we are directly ... Read More

Golang program to find the cross product of two vectors

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 12:48:21

45 Views

The cross product is an operation performed on two vectors in three-dimensional space that results in a third vector that is orthogonal (perpendicular) to the original vectors. In this article, we will see the Golang program to find the cross product of two vectors, here we will explore two different ... Read More

Golang program to find the dot product of two vectors

Akhil Sharma

Akhil Sharma

Updated on 18-Oct-2023 12:32:49

132 Views

The dot product is a measure of how closely two vectors are aligning in the direction that they are pointing towards. The dot product of two vectors is a fundamental operation in linear algebra that calculates the sum of the products of corresponding elements in two vectors. In this article, ... Read More

Golang Program to Convert String Value to Byte Value

Akhil Sharma

Akhil Sharma

Updated on 07-Oct-2023 01:11:06

27K+ Views

In this tutorial, we will learn how to convert string values to byte values using golang programming language. String Value − A string value is just a sequence of characters, like "abc". A string value is always enclosed in quotes. All types of characters are allowed (even digits, as in ... Read More

Golang Program to Perform the Comb Sort Algorithm

Akhil Sharma

Akhil Sharma

Updated on 07-Sep-2023 17:52:48

63 Views

Comb sort algorithm is a simple and efficient comparison−based sorting algorithm, Comb Sort improves upon Bubble Sort by eliminating small values towards the end of the array, resulting in faster sorting times. We can use two methods to implement Comb Sort algorithm in Gzolang, the first method is using a ... Read More

Advertisements