This repository contains solutions to five Python programming tasks related to data structures and algorithms.
palindrome_stack.py
: Contains a program to check whether a string is a palindrome using a stack.list_comprehension.py
: Demonstrates the concept of list comprehension with three examples.compound_datatypes.py
: Explains compound datatypes in Python with three examples.bigrams.py
: Contains a function that takes a string and returns a list of bigrams.closest_key.py
: Implements a function to find the key with the input value closest to the beginning of the list in a dictionary.