- python generator
- 10 python shortcuts
- f string
- unpacking
- multiple assignment
- comprehension
- Object multiplication
- Inline/Ternary conditions
- Zip
- args & kargrs
- for else & while else
- sort by key
- Bonus: itertools
-
Week 1: Python Basics Review of basic Python 3 language concepts and syntax.
-
Week 2: Python Research Tools Introduction to Python modules commonly used in scientific computation, such as NumPy.
-
Weeks 3 & 4: Case Studies This collection of six case studies from different disciplines provides opportunities to practice Python research skills.
-
Week 5: Statistical Learning Exploration of statistical learning using the scikit-learn library followed by a two-part case study that allows you to further practice your coding skills.
- The package has functionality for different types of distribution frameworks. There is currently has functionality for Binomial and Guassian distributions.
- 118_pascal_triangle.py
- 1260_shift_grid.py
- 202_happy_number.py
- 31_next_permutation.py
- 410_split_array_largest_sum.py
- dnfSort.py
- kadane.py
- merge_interval.py
- move-zeros-left.py
- move_zeros.py
- rotatedSortedarr.py
- 35_search_insert_pos.py
- kokoEatingBananas.py
- kth smallest_no_in_mul_table.py
- kth_smallest_ele_matrix.py
- kth_smallest_pair_distance.py
- search_in_2d_matrix_ii.py
- split_Arr_largest_sum.py
- 146_LruCache.py
- 348_design_tictactoe.py
- MinHeap.py
- prefixTrie.py
- 198_house_robber.py
- 279_perfect_square.py
- buy&sell_stock_i.py
- buy&sell_stock_ii.py
- buy&sell_stock_iii.py
- buy&sell_stock_iv.py
- buy&sell_stock_with_cooldown.py
- buy&sell_stock_with_transaction_fee.py
- coin_change.py
- jump_game_ii.py
- max_k_transaction.py
- regex_matching.py
- word-break.py
- wordbreak2.py
- 1022_sum_of_root_leaf.py
- 116_next_right_pointer.py
- 1236_web_crawler.py
- 126_word_ladder_2.py
- 127_word_ladder.py
- 200_no_of_island.py
- 399_evaluate_div.py
- 538_convert_bst_to_greater_tree.py
- 773_sliding_puzzle.py
- 863_k_distance_node.py
- 872_leaf_similar_trees.py
- 909_snake_ladder.py
- 993_cousins_binary_tree.py
- 994_rotting_orange.py
- allPathSum.py
- binary_tree_paths.py
- bottom_view_of_binary_tree.py
- evaluate_bool_binary_tree.py
- hasPathSum.py
- invert_binary_tree.py
- levelAverage.py
- levelOderSuccessor.py
- levelOrderTree.py
- maximumDepth.py
- minimumDepth.py
- mirror_tree.py
- reconstruct_itinerary.py
- reverseLevelOrder.py
- sum_of_path_sum.py
- top_view_binary_tree.py
- wordSearch.py
- zigzagTraversal.py
- 1094_car_pooling.py
- design_twitter.py
- median_of_stream.py
- 138_copy_list_with_random_pointer.py
- 141_linked_list_cycle.py
- 147_insertion_list.py
- 148_sortList.py
- 21_merge_two_sortd_list.py
- 237_delete_node_in_ll.py
- 25_reverse_nodes_k_group.py
- 2_add_two_numbers.py
- 445_add_two_numbers_2.py
- 707_linked_list.py
- 876_mid_of_linked_list.py
- reversell.py
- reverseSubList.py
- reverse_ll_recursive.py
- shift_linked_list.py
- 179_largest_number.py
- 290_word_patern.py
- 1239_max_len_concatened_str.py
- 1849_split_string.py
- 93_restore_ip_addrs.py
- backtracking_template.py
- backtrack_template.txt
- combination_sum.py
- combination_sum_ii.py
- diceRoll.py
- diceRollSum.py
- letter_combination_of_ph.py
- nqueens.py
- palindrome_partitioning.py
- partition_into_k_subsets.py
- permute.py
- permuteWord.py
- permute_ii.py
- printMovieOrders.py
- print_binary.py
- rat_in_maze.py
- subsets.py
- subsets_2.py
- subsets_backtrack.py
- word_search_ii.py
- mergesort.py
- quickSort.py
- quick_select.py
- selectionSort.py
- 1209_remove_adjacent_ele_2.py
- 132_pattern.py
- 155_min_stack.py
- 402_remove_k_digits.py
- 682_baseball_game.py
- 71_simplify_path.py
- daily-temperature.py
- nextGreaterElement.py
- nextSmallerElement.py
- sum_subarray_minimum.py
-
38_count_and_say.py
-
longest_palindrome.py
-
string_compression.py Two_pointers
- 11_container_with_most_water.py
- 238_product_of_arr_except_self.py
- 3_sum.py
- 42_trap_rain_water.py
- 4_sum_ii.py
- 1590_make_sum_divisible_by_p.py
- 523_continuous_subarray_sum.py
- 525_contiguous_array.py
- 974_subarraysum_div_by_k.py
- Longest_subarray_having_sum_k.py
- subarraysumEquask.py
- 1003_max_consecutive_ones_iii.py
- 3_longest_substr_wo_repeating_char.py
- 424_longest_repeating_char_replacement.py
- 438_find_anagrams.py
- 904_fruits_into_basket.py
- longest_substr_at_most_k_distinct_char.py
- minimum_window_substr.py
Inheritance is the last object-oriented programming topic in the lesson. Thus far you've been exposed to:
- Classes and objects
- Attributes and methods
- Magic methods
- Inheritance Classes, object, attributes, methods, and inheritance are common to all object-oriented programming languages.
Knowing these topics is enough to start writing object-oriented software. What you've learned so far is all you need to know to complete this OOP lesson. However, these are only the fundamentals of object-oriented programming.
Use the following list of resources to learn more about advanced Python object-oriented programming topics.
- Python's Instance, Class, and Static Methods Demystified: This article explains different types of methods that can be accessed at the class or object level.
- Class and Instance Attributes: You can also define attributes at the class level or at the instance level.
- Mixins for Fun and Profit: A class can inherit from multiple parent classes.
- Primer on Python Decorators: Decorators are a short-hand way to use functions inside other functions.