## Classes And Objects

##### Find the Median of a List of Numbers in Python

This technical problem involves finding the median of a list of numbers in Python. An example input would be [1, 2, 3, 4, 5], and the expected output would be 3 .

30
Jan 29
##### Python class implementing a stack using a list

This Python class implements a stack using a list. The stack supports the following operations: push, pop, size, and isEmpty.

71
Nov 26
##### Implementing a Stack with a Linked List in Python

This technical problem asks the reader to write a Python class that implements a stack using a linked list. The stack should have methods for pushing an integer onto the stack, popping and returning the top element of the stack, and checking if the stack is empty.

52
Nov 23
##### Python Class "Foo" with Instance Variable and Methods

This technical problem deals with creating a Python class named "Foo" with an instance variable named "value". The class also has two methods, "double" and "triple", which multiply the value by 2 and 3, respectively.

88
Nov 23
##### Implement a min heap in Python

Implement a min heap in Python by creating a Python class with the following methods: insert(self, val), remove_min(self), and peek_min(self).

85
Nov 20
##### Creating a Calculator Class in Python

This technical problem explains how to create a calculator class in Python that can perform addition, subtraction, multiplication, and division operations. The calculator takes two operands (numbers) and an operator as input, and returns the result of the operation.

86
Nov 19
##### Python Class for a Stack Data Structure

This technical problem deals with implementing a stack data structure in Python using a class. The class should have two methods: push, which adds an item to the top of the stack, and pop , which removes and returns the top item from the stack. If the stack is empty, pop should raise an IndexError.

79
Nov 13