# python programming

## Bubble Sort… – FcukTheCode

Parameter Description Stable Yes In place Yes Best case complexity O(n) Average case complexity O(n^2) Worst case complexity O(1) The BubbleSort compares each successive pair…Read More »Bubble Sort… – FcukTheCode

## Huffman Coding -: Greedy Algorithms …FTC

Huffman Coding – Activity Selection Problem👉 👉 Activity Selection Problem Huﬀman code is a particular type of optimal preﬁx code that is commonly used for…Read More »Huffman Coding -: Greedy Algorithms …FTC

## Celsius to Fahrenheit [Python] …ftc

Write a program to Convert the temperature from Celsius to Fahrenheit. INPUT_1:Celsius: 0 OUTPUT:Celsius to Fahrenheit: 32.0 F INPUT_2:Celsius: 30 OUTPUT:Celsius to Fahrenheit: 86.0 F…Read More »Celsius to Fahrenheit [Python] …ftc

## Topological Sort in Graph …FTC

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory …FTC 👈 👈 😉…Read More »Topological Sort in Graph …FTC

## Storing Graphs (Adjacency List) …fcukthecode

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory …FTC 👈 👈 😉…Read More »Storing Graphs (Adjacency List) …fcukthecode

## Introduction To Graph Theory …FTC

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. Did you know, almost all the problems…Read More »Introduction To Graph Theory …FTC

## Adjacency Matrix (Storing Graphs) …-fcukthecode

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory …FTC 👈 👈 😉…Read More »Adjacency Matrix (Storing Graphs) …-fcukthecode

## Finding the multiple in Python …FTC

Find the multiple of given number in the list of integers. Input:First Line of the Input is the Number of Elements in the ListSecond Line…Read More »Finding the multiple in Python …FTC

## OS Module (os.path) Python-fcukthecode

This module implements some useful functions on pathnames. The path parameters can be passed as either strings, or bytes. Applications are encouraged to represent file…Read More »OS Module (os.path) Python-fcukthecode

## Searching Linear in Python…FTC

Write a program to search a element linearly. INPUT_1:Enter the Elements: 5 2 3 4 10 40Element to Search: 3 OUTPUT:Element is present at index …Read More »Searching Linear in Python…FTC

## Map Module in Python …FcuktheCode

The map function is the simplest one among Python built-ins used for functional programming. map() applies a specified function to each element in an iterable…Read More »Map Module in Python …FcuktheCode

## Dynamic Dictionaries Python…FTC

Write a program to print all the squares of the range from 1 to n. Input:Get the Value Output:Display the square value of the dictionary…Read More »Dynamic Dictionaries Python…FTC