
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 26504 Articles for Server Side Programming

399 Views
A Unicode code point is represented by the rune type in Go. For many string operations, including case conversion, counting the number of lowercase letters in a string, and other string operations, it is helpful to know if a rune is an uppercase letter or lowercase letter. The several approaches to determine if a rune in Go is a lowercase letter or not will be covered in this article. Using the Unicode Package Go's unicode package offers a number of functions for working with Unicode characters. One such function is IsLower, which gives a true result if the given rune ... Read More

3K+ Views
A rune is a Unicode code point that is used as an alias for the int32 type in Go. It is frequently employed to denote a single character within a string. We occasionally need to determine whether a rune represents a decimal digit. This article will cover how to determine in Go whether a rune is a decimal digit. Using the unicode.IsDigit() Function To work with Unicode code points, Go has the unicode package, which includes functions. To determine whether a particular rune is a decimal digit or not, use the IsDigit() function of this package. A rune can be ... Read More

720 Views
In Golang, it is important to know whether a slice is sorted or not, especially when working with algorithms that require sorted data. In this article, we will explore various methods to check if a given slice is sorted or not. Using a Loop to Check if the Slice is Sorted One way to check if a slice is sorted is to use a loop to compare adjacent elements in the slice. If the elements are in ascending order, then the slice is sorted. Here is an example code − Example package main import "fmt" func isSorted(s []int) ... Read More

6K+ Views
Presence of a specific character or group of characters in a string is a typical procedure when working with strings. Several methods for determining whether specific characters are present in a Golang string will be covered in this article. Using the strings.Contains() Function Using the built-in strings is the simplest approach to determine whether a character or substring is contained in a Golang string. the contains() function. A boolean value indicating whether the substring was discovered in the string is returned by this function, which requires two arguments: the string to search for and the substring to look for. Here ... Read More

1K+ Views
Channels in Golang are useful for transferring data and coordinating the execution of goroutines. We will go over what channels are, how they operate, and how to use them successfully in Golang in this article. What are Channels? In Golang, channels are a means of data synchronisation and communication between goroutines. A channel primarily functions as a message queue that enables communication between goroutines. Without the requirement for explicit locking or synchronisation, channels offer a secure and effective method of data sharing between goroutines. How Channels Work Channels in Golang are implemented using the chan keyword. Channels can be created ... Read More

680 Views
An array is a collection of similar data sets which stored at adjacent memory locations in a continuous manner. It makes the process easier to evaluate the particular position of each and every element by defining an offset value to the particular base value of a database. The base value of that particular index is zero and an offset is a value of the difference of two particular indexes. A subarray is a section of a particular array which can be defined as a set of variables collectively with a label of multiple values. The longest subarray means in which ... Read More

11K+ Views
The cookies are the data stored in the user’s browser for quick access. For example, whenever we log in to any website, the server returns the access token, which can be stored in the browser’s cookie with the expiry time. So, whenever a user revisits the website, they don’t need to log in to the website repeatedly if the access token stored in the cookies has not expired. We can also access the browser’s cookies on the server side in NodeJS. After that, we can check if any detailed data exists in the cookies we are looking at, and if ... Read More

216 Views
Inversion count is a step counting method by which we can calculate the number of sorting steps taken by a particular array. It is also capable to count the operation time span for an array. But, if we want to sort an array in a reverse manner, the count will be maximum number present in that array. Array: { 5, 4, 3, 2, 1} // for the reverse manner Pairs: {5, 4}, {5, 3} , {3, 2}, {3, 1}, {2, 1}, {4, 3}, {4, 2}, {4, 1}, }, {5, 2}, {5, 1} Output: 10 Array: {1, 2, 3, 4, ... Read More

481 Views
In the field of data structure, a range query is a pre-processing method to operate on some input data in an efficient manner. A range query is responsible to answer any query of the particular input on any data subset. If we want to copy some data columns from a table we need to maintain an index for that particular dataset. An index is a direct link or a key, which is designed to provide an efficient searching process in a data set. It is mainly used to speed up the data retrieving from a lost data source. In mathematics, ... Read More

295 Views
Ranging a query is a common database current interest operation present in data structure to restore all the records where the output value lies between an upper and lower boundary. This process works with some input data, to structure them in an efficient manner on any subset of a particular input. The range function, denoted as range() is used to iterate a for loop over a series. We need to declare the start as 0 at the beginning of a process. If somehow we miss this step, the process will run and iterate the loop until the end (-1). A ... Read More