https://github.com/jimmymugendi/luxdev-week-4-boot-camp
This repo focuses on operations performed in python. Interview questions that data entusiast and practitoners should be aware of.
https://github.com/jimmymugendi/luxdev-week-4-boot-camp
compounddataypes dictionaries listcomprehensions loops-and-iterations palindrome-checker runtime-verification stack
Last synced: 3 months ago
JSON representation
This repo focuses on operations performed in python. Interview questions that data entusiast and practitoners should be aware of.
- Host: GitHub
- URL: https://github.com/jimmymugendi/luxdev-week-4-boot-camp
- Owner: Jimmymugendi
- Created: 2024-08-23T17:52:49.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T18:02:41.000Z (10 months ago)
- Last Synced: 2025-01-16T18:31:51.443Z (5 months ago)
- Topics: compounddataypes, dictionaries, listcomprehensions, loops-and-iterations, palindrome-checker, runtime-verification, stack
- Language: Jupyter Notebook
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LuxDev-week-4-boot-camp
## 1). Write a Python program to check whether a string is a palindrome or not using a stack.
PS: Pay attention to the specified data structure.
## 2). Explain the concept of list comprehension in Python with at least three examples.
## 3). Explain what a compound datatype is in Python with three examples.
## 4). Write a function that takes a string and returns a list of bigrams.
## 5). Given a dictionary with keys as letters and values as lists of letters, write a function closest_key to find the key with the input value closest to the beginning of the list.