AmitDiwan has Published 10744 Articles

Crop Images in CSS with object-fit and object-position

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 12:02:00

381 Views

CSS object-fit and object-position property helps us crop images and specify how it is displayed in an element.The syntax of CSS object-fit property is as follows −Selector {    object-fit: /*value*/    object-position:/*value*/ }ExampleThe following examples illustrate CSS object-fit property. Live Demo img {    object-fit: cover; } ... Read More

Python program to remove duplicate elements from a Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:11:06

380 Views

When it is required to remove duplicates from a circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In a circular linked list, the ... Read More

Python program to insert a new node at the middle of the Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:06:01

368 Views

When it is required to insert a new node at the middle of the circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In ... Read More

Python program to insert a new node at the end of the Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:04:56

478 Views

When it is required to insert a new node at the end of the circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In ... Read More

Python program to insert a new node at the beginning of the Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:02:31

629 Views

When it is required to insert a new node at the beginning of a circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In ... Read More

Python program to find the maximum and minimum value node from a circular linked list

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:00:40

339 Views

When it is required to find the maximum and minimum node values from a circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In ... Read More

Python program to delete a node from the middle of the Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 06:00:14

230 Views

When it is required to delete a node from the middle of the circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In a ... Read More

Python program to delete a node from the end of the Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 05:56:52

388 Views

When it is required to delete a node from the end of a circular linked list, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list.In a ... Read More

Python program to create and display a Circular Linked List

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 05:53:53

805 Views

When it is required to create a circular linked list and display it, a 'Node' class needs to be created. In this class, there are two attributes, the data that is present in the node, and the access to the next node of the linked list. In a circular linked ... Read More

Python program to create a Circular Linked List of n nodes and display it in reverse order

AmitDiwan

AmitDiwan

Updated on 13-Mar-2021 05:51:55

199 Views

When it is required to create a circular linked list and display it in the reverse order, a 'Node' class needs to be created.To display the data elements in the circular list in reverse order, another method can be defined, that would reverse the data. In this class, there are ... Read More

Advertisements