Skip to content
logo
Read more about the article Remove nth node from end of list | Python | Leetcode 19

Remove nth node from end of list | Python | Leetcode 19

  • Post author:Anam
  • Post published:May 2, 2023
  • Post category:Leetcode/Python

Given the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: Input: head = [1,2,3,4,5], n = 2 Output: [1,2,3,5] Example 2:…

Continue ReadingRemove nth node from end of list | Python | Leetcode 19
Read more about the article Linked Lists in Python – Everything you need to know as a programmer

Linked Lists in Python – Everything you need to know as a programmer

  • Post author:Anam
  • Post published:April 18, 2023
  • Post category:Python

Linked List is a linear and dynamic data structure that consists of series of nodes connected to each other. The elements are not stored contiguously, but linked with pointers . In linked list each…

Continue ReadingLinked Lists in Python – Everything you need to know as a programmer
Read more about the article Linked Lists: Everything you need to know as a programmer

Linked Lists: Everything you need to know as a programmer

  • Post author:Anam
  • Post published:April 15, 2023
  • Post category:Python

Linked List is a linear and dynamic data structure that consists of series of nodes connected to each other. The elements are not stored contiguously, but linked with pointers .In…

Continue ReadingLinked Lists: Everything you need to know as a programmer
Read more about the article Lists in Python – Everything you need to know as a programmer

Lists in Python – Everything you need to know as a programmer

  • Post author:Anam
  • Post published:April 15, 2023
  • Post category:Python

Lists are used to store multiple items in a single variable. We can store different data types in a list. List items are ordered, changeable, and allow duplicate values. Indexing start from…

Continue ReadingLists in Python – Everything you need to know as a programmer
Read more about the article Python Arrays: Everything you need to know as a programmer

Python Arrays: Everything you need to know as a programmer

  • Post author:Anam
  • Post published:April 13, 2023
  • Post category:Python/CODING

An array is a container that stores and organizes items sequentially. They are an ordered collection of elements and each value belongs to the same data type. Indexing of the…

Continue ReadingPython Arrays: Everything you need to know as a programmer
Read more about the article Arrays | Static and Dynamic – Everything you need to know

Arrays | Static and Dynamic – Everything you need to know

  • Post author:Anam
  • Post published:April 12, 2023
  • Post category:CODING

An array is a container that stores and organizes items sequentially. They are an ordered collection of elements and each value belongs to the same data type. Indexing of the…

Continue ReadingArrays | Static and Dynamic – Everything you need to know
Read more about the article Check If A Number Is Power Of Two | Python | Leetcode 231

Check If A Number Is Power Of Two | Python | Leetcode 231

  • Post author:Anam
  • Post published:April 11, 2023
  • Post category:Leetcode

Question Given an integer n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such that n == 2x. Example 1: Input:…

Continue ReadingCheck If A Number Is Power Of Two | Python | Leetcode 231
Read more about the article Number of Days Between Two Dates | Python | Leetcode 1360

Number of Days Between Two Dates | Python | Leetcode 1360

  • Post author:Anam
  • Post published:April 10, 2023
  • Post category:Leetcode

Question Write a program to count the number of days between two dates. The two dates are given as strings, their format is YYYY-MM-DD as shown in the examples. Example 1: Input:…

Continue ReadingNumber of Days Between Two Dates | Python | Leetcode 1360
Read more about the article Big O Notation – Analysis of Time and Space Complexity

Big O Notation – Analysis of Time and Space Complexity

  • Post author:Anam
  • Post published:April 9, 2023
  • Post category:Python

When we develop an algorithm, we need to analyze its performance. We need to compare the efficiency of different solutions to a problem. There are two important criteria to analyze…

Continue ReadingBig O Notation – Analysis of Time and Space Complexity
Read more about the article Numbers in Python: Everything you should clearly know as a beginner.

Numbers in Python: Everything you should clearly know as a beginner.

  • Post author:Anam
  • Post published:March 3, 2023
  • Post category:Python

In Python, there are three types of numeric data: integers, floating-point numbers, and complex numbers. my_number = 7 # int my_float = 7.0 # float my_complex = 5+7j # complex…

Continue ReadingNumbers in Python: Everything you should clearly know as a beginner.
  • Go to the previous page
  • 1
  • 2
  • 3
  • Go to the next page
Copyright - OceanWP Theme by OceanWP