![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 27104 Articles for Server Side Programming
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
2K+ Views
Symmetric encoding is a cryptographic technique, where the same key is used for both encryption and decryption of messages from client to server. In order to ensure no sensitive information is leaked while passing the network packets through vulnerable servers, where hackers may use this message for malicious intent, encrypting the message will be a good idea. There are some steps followed in symmetric encryption: Key generation: For both the client and server, in order to access the message, a secret key is generated first and sent to the receiver in order to decrypt ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
174 Views
PyTorch is an open-source Python library used for machine learning, computer vision and deep learning. It is an excellent library to build neural networks, conduct complex computations and optimise gradient differentiation. Developed by Facebook's Research Team (FAIR), it gained popularity due to its dynamic computing graphs, allowing it to change graphs in real time. This was revolutionary back in 2016 when models working in real-time just started to pop off. There are two main variables which will be focused on, tensor and variable in PyTorch. Tensor is used to define an n-dimension matrix or multi-dimensional ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
182 Views
In Python, String is a sequence of characters surrounded by either double quotes(" ") or single quotes (' '). Strings are used to represent text data in Python and it can contain letters, numbers, and symbols. String data type is immutable in Python, that is once a string instance is created it's value cannot be changed. But a new string with the required changes made in the original string can be created. Python Strings come with numerous methods like capitalize(), upper(), title(), split(), strip(), join(), etc. that can also be used to manipulate strings. str.capitalize() ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
539 Views
Spark DataFrame Spark DataFrame is a distributed data collection established into named columns. it's a key statistics structure in Apache Spark, a quick and distributed computing device optimised for huge data processing. In a distributed computing context, Spark DataFrames provide a better-stage API for operating with established and semi-structured information. Pandas DataFrame A Pandas DataFrame is a two-dimensional labelled data structure that represents tabular data. It is one of the core data structures provided by the Pandas library in Python. The DataFrame organizes data in a row-column format, similar to a table or spreadsheet. Advantages ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
174 Views
One of the most useful data structures in Pandas is the Pandas DataFrame which is a 2-Dimensional table-like structure that contains rows and columns to store data. It allows users to store and manipulate the data, very similar to a spreadsheet or SQL table. It also provides a serial or linear data structure which is called the 1-Dimensional labelled array that can hold elements of any data type. Shallow Copy A shallow copy, as the name suggests, creates a new DataFrame object that references the original data. In other words, a shallow copy points to the ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
385 Views
A class is a blueprint or template that defines objects' attributes (data) and behaviours (methods). It's by far a fundamental concept of object-orientated programming (OOP) that allows you to create items based totally on the class definition. Shallow copy Shallow copy creates a new object that stores the reference of the original elements. Instead of making a duplicate of the nested objects, it just replicates their references. This means that a copy process does not recurse or create copies of nested objects itself. Shallow copy is faster than deep copy, but it is "lazy" and handles pointers and ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
299 Views
The size of the NumPy arrays can be changed with the help of two functions in python namely reshape and resize. There's only one thing that differentiates them, the original array remains unchanged while using resize() while reshape() returns only the changed array and the original array remains intact. Syntax Reshape() reshape(x, y) In this syntax, x specifies the number of smaller arrays that has to be created from the larger array provided as input and y denotes the actual number of elements present in the array. The method returns a modified array if the ... Read More
![Disha Gupta](https://www.tutorialspoint.com/assets/profiles/693298/profile/60_2407548-1691642624.jpeg)
165 Views
The arrays of strings are a 2-dimensional array that stores characters in it. In C++ language we have an inbuilt function, with syntax − Syntax swap (first_datatype, second_datatype) which is used to perform swap operations on two elements, that is, exchange the values they carry. In the following, we are also supposed to do some exchange in positions of the elements of the string to get the expected output. However, we can get our output in a much easier way. Problem Statement Now, in this problem, we are provided with two arrays of strings (meaning arrays or ... Read More
![Jaisshree](https://www.tutorialspoint.com/assets/profiles/626154/profile/60_732783-1679645062.jpeg)
107 Views
A queue is a data structure which follows a FIFO (First In First Out) delivery method that is, the order of a set of messages is strictly preserved. It processes all messages exactly once, hence, there's no duplication of messages. The advantage of a FIFO system over a standard delivery method is because of a queue's ability to support unlimited throughput due to the application of batch-processing of queues. FIFO has high throughput (amount of items passing through a process) and can process a lot more messages than average. In Python, queues can be implemented via two main ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
72 Views
In this problem, we need to remove the characters from the string whose frequency is not the power of 2. After that, we need to sort each string of the array in non-increasing order. Problem statement- We have given an array arr[] containing total N strings of different lengths. We need to remove the character from the string if its frequency is not the power of 2. After that, we need to sort each string Sample examples Input – arr[] = {"abde", "cpcc", "ddddd", "kk"} Output – edba, p, kk Explanation In the string ‘abde’ string, all characters' frequency is ... Read More