Akhil Sharma has Published 671 Articles

Haskell Program to Check if a String is Numeric

Akhil Sharma

Akhil Sharma

Updated on 14-Jul-2023 16:53:27

744 Views

In Haskell we can use read functions and Data.char library to find if a given string is numeric or not. The following example will give you a clear idea about the valid numeric values. For example, 121, 12321, and 1221 if entered as string are valid numeric values. Algorithm ... Read More

Golang program to reverse a circular linked list

Akhil Sharma

Akhil Sharma

Updated on 14-Jul-2023 16:44:56

65 Views

In this article, we will learn how to create a golang program to reverse a circular linked list using recursion and iterative method. A circular linked list is a type of linked list where the last node in the list points back to the first node, forming a loop. It ... Read More

Golang program to create filter for the Employees

Akhil Sharma

Akhil Sharma

Updated on 14-Jul-2023 15:55:13

341 Views

Go Language allows you to apply a filter on particular data for analyzing specified data, work on a particular property of data, data integration and more.In this article we are going to write a program to create a filter for the employees, using iterative filtering, functional filtering, as well as ... Read More

Golang Program to Create an Interface Named Mailer that Defines a Send Method

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 23:11:45

37 Views

In this article we are going to create an interface named mailer that defines a send method using interfaces embedding as well as Function as parameter. Interface in go language is a collection of methods that define a set of behavior. Algorithm Create a Mailer interface with a Send ... Read More

Golang Program to Create an Interface Named Writer that Defines a Write Method

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 23:07:58

62 Views

In this Golang article we will learn to create an interface named writer that defines a write method write method for file type as well as writer interface and filet type. Syntax data := []byte("Hello, World!") It is used to declare a byte slice ... Read More

Golang Program to Create Filter for the Employees Based on their Salary

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 23:03:25

56 Views

It is important to have the knowledge of filters while working on data sets in go language because there may be cases where you want to analyze data to get customized results. In this article we are going to create a filter on the employee list based on the salary ... Read More

Golang Program to Create Two Goroutines

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 22:39:39

121 Views

When working with go language there may be instances where you need to create two goroutines for parallel processing, asynchronous operations and more. In this go language article we will explore how to create two goroutines using anonymous functions, named functions as well as using function calls.In golanguage a goroutine ... Read More

Golang Program to Creates a Unidirectional Sending Channel and Passes it to a Function that Returns a Unidirectional Receiving Channel

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 22:35:50

57 Views

A unidirectional sending channel is used to send the values to the channel, while the unidirectional receiving channel is used to receive the data from the channel. These channels are used in concurrent data processing, data sharing and more. In this golang article we are going to create a program ... Read More

Golang Program to Find Average Paid Employee

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 22:22:36

60 Views

It is very important to know about the average salary paid to an employee in an organization for analysis, research and rewards. In this article we are going to find out the average employee salary in go language using iteration, reduce function as well as goroutines and channels. ... Read More

Golang program to creates a unidirectional sending channel and passes it to a function that takes a pointer to a slice of integers

Akhil Sharma

Akhil Sharma

Updated on 13-Jul-2023 22:21:16

58 Views

There are many cases while working on go language channels where you need to write a program that creates a unidirectional sending channel and passes it to a function that takes a pointer to a slice of integers for data streaming, asynchronous data sharing and more, in this go language ... Read More

Previous 1 ... 7 8 9 10 11 ... 68 Next
Advertisements