Learn how to use map in python with an iterable like list or tuple. map takes one function and applies it on each element of the iterable. It returns the modified iterable.
ReadLearn how to reverse a linked list in C++. In this post, I will show you how to reverse a linked list using the algorithm that uses one temporary node.
ReadPython program to accept a sequence of numbers. In this post, we will write one python program that takes one sequence of numbers from the user and prints out the average value.
ReadLearn how to delete a node in singly linked list in C++. Deleting a linked list node can be achieved by connecting the predecessor node with successor node of the linked list.
ReadLearn how to insert nodes to start and end of a linked list in C++. Inserting a node is not difficult if we follow the steps. This post will explain the process of inserting nodes.
ReadPython program to do inplace replacement of strings in a file. Read the file line by line and replace one specific string in the lines of the file.
ReadPython program to generate secure random string of length n. Learn random.choice and secrets.choice methods and how these methods works.
ReadLearn how to print spaces or blank spaces in python. We will learn two different ways to print spaces in python - by using print() and using a variable.
ReadSingly linked list implementation in C++. Learn how to implement linked list, add node to it and display a linked list in C++.
ReadLearn how to find the length of a string in swift. This post will show you how to find the length of a string in swift with example program.
Read