
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

605 Views
In this article, we will learn how to write a swift program to add two matrices using a multi-dimensional array. A matrix is a mathematical structure in which the elements are present in rows and columns format. For example, the first element is present at the a00 location, the second at a01, and so on. Therefore, to add two matrices we are going to use + operator to add the elements of two matrices like a00 + b00 and then store the sum into a new matrix. For example: Matrix 1 − $\mathrm{\begin{bmatrix}2 & 3 & 4 ewline5 & 2 ... Read More

2K+ Views
A hashtable is a data structure that consists of a collection of key-value pairs. The hashtable collection uses a hash function to compute the hash code of the key. A hashtable can also be defined as a non-generic collection of key-value pairs. The hash code of each key is computed using a hash function and is stored in a different bucket internally. At the time of accessing values, this hash code is matched with that of the specified key, and results are returned. Unlike other data structures like the stack, queue, ArrayList, etc. that store single values, hashtable collection stores ... Read More

2K+ Views
A Hashtable is a non-generic collection of key-value pairs that are arranged as per the hash code of the key. A Hashtable is used to create a collection that uses a hash table for storage. The hashtable optimizes the lookup by calculating the hash code of each key and stores it internally into a basket. When we access the particular value from the hashtable, this hashcode is matched with the specified key. This hashtable collection is defined in the System.Collections namespace of C#. The class that represents the hashtable collection is the “Hashtable” class. This class provides constructors, methods, and ... Read More

3K+ Views
The hashtable collection in C# is a non-generic collection of elements. Each element of the hashtable is represented as a key-value pair. The keys of the hashtable are non-null and unique. The values can be duplicated and/or null. The Hashtable class of C# Systems.The collections interface is the representation of a hashtable collection. This class provides various constructors, methods, and properties to manipulate the hashtable collection. We can also convert hashtables into other collections like arrays, ArrayList, etc., and also to a string representation. In this article, let’s discuss how we can convert a hashtable collection into a string. How ... Read More

2K+ Views
The hashtable collection in C# is a non-generic collection of items represented as key-value pairs. Each key is a unique, non-null element. The value on the other hand can be duplicated and/or null. The Hashtable class in C# represents the hashtable collection. This class provides the relevant methods to create objects, alter items in the collection, etc. The hashtable collection can be expressed as an array or ArrayList in C#. In this article, let’s discuss how we can convert a hashtable collection into an array. How to Convert Hashtable into an Array? To convert the hashtable into an array, the ... Read More

4K+ Views
In TypeScript, ‘null’ refers to the data type or value. The null is a keyword in TypeScript, which we can use to represent the absent or empty value. So, we can use ‘null’ to define the variable's data-type or initialize the variable. In this tutorial, we will learn the different use cases of the null value and data type in TypeScript. Syntax Users can follow the syntax below to use the null keyword as a data type or value. let null_var: null = null; In the above syntax, ‘null’ refers to the data type of the null_var named ... Read More

4K+ Views
If you have worked with other programming languages, such as Python, you have heard about lambda functions. The arrow function is similar to the lambda function, which provides a shorter way to define the function inside TypeScript. We can create the function without a ‘function’ keyword by using the fat arrow and storing it inside the variable. After that, we can use that variable to invoke the function whenever required. Also, the arrow function doesn’t have any identity, as it is anonymous. So, we can identify it using the variable in which we have stored it. Syntax Users ... Read More

420 Views
"The cloud" suggests servers gotten over the Internet and the item and databases that abruptly spike popularity for those servers. Cloud servers are arranged in server ranches from one side of the planet to the next. By using disseminated registering, clients and associations don't have to direct genuine servers themselves or run programming apps on their machines. The cloud enables clients to access comparative records and apps from essentially any device because the handling and storing occur on servers in a server ranch instead of locally on the client contraption. To this end, a client can sign in to their ... Read More

25K+ Views
In TypeScript, while working with the array, we often require to search for a particular element. To search for an element, either we can use the naive approach using the for loop or some built-in method such as the find() or indexOf() method. Also, we will learn to find the particular object in the array based on the object property. Using the for-of Loop to Search a Particular Element in The Array The naive approach to searching for an element is using linear search. In linear search, we need to iterate through the array using the for loop and check ... Read More

11K+ Views
This tutorial demonstrates multiple ways to reverse a string in TypeScript. At first, reversing the string problem looks easy, but what if someone asks you to explain the different approaches to reversing a string in TypeScript? For example, what if the interviewer asks to reverse the words of the string rather than reversing every character of the string? Here, we will learn to reverse every character or word of the string in TypeScript. Using the for-of Loop to Reverse a String in TypeScript The naive approach to reverse the string uses the normal for loop or for-of loop. Here, we ... Read More