Category: Other

python tutorials and learn python

Created with Sketch.

JavaScript Program to Merge Property of Two Objects

JavaScript Program to Merge Property of Two Objects The Object.assign() method is used to merge the properties of two or more objects into a single object. The first argument to the method is the target object, to which the properties of other objects will be merged. In this case, an empty object is used as…
Read more

JavaScript program to convert the first letter of a string into uppercase:

JavaScript program to convert the first letter of a string into uppercase:

Python program that inserts a new node at the end of a circular linked list:

Python program that inserts a new node at the end of a circular linked list: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new data to…
Read more

Python program that inserts a new node at the beginning of a circular linked list:

Python program that inserts a new node at the beginning of a circular linked list:

Python program that finds the maximum and minimum value node from a circular linked list:

Python program that finds the maximum and minimum value node from a circular linked list: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new data to…
Read more

Python program that deletes a node from the middle of a circular linked list, given a specific value:

Python program that deletes a node from the middle of a circular linked list, given a specific value: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds…
Read more

Python program that deletes a node from the end of a circular linked list:

Python program that deletes a node from the end of a circular linked list: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new data to the…
Read more

Python program that deletes a node from the beginning of a circular linked list:

Python program that deletes a node from the beginning of a circular linked list: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new data to the…
Read more

Python program that creates a circular linked list and displays its elements:

Python program that creates a circular linked list and displays its elements: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new data to the end of…
Read more

Python program that creates a circular linked list of n nodes and displays it in reverse order:

Python program that creates a circular linked list of n nodes and displays it in reverse order: In this example, we first define a Node class with a constructor that initializes the data and next properties. The CircularLinkedList class is implemented using the Node class. The CircularLinkedList class has an append method that adds new…
Read more