LeetCode β 1281. Subtract the Product and Sum of Digits of an Integer
Problem Statement Given an integer number n, return the difference between the product of its digits and the sum of its digits. Example 1: Input: n = 234 Output: 15 Explanation: Product of digits = 2β¦
https://thecodingbot.com/leetcode-1281-subtract-the-product-and-sum-of-digits-of-an-integer/
Problem Statement Given an integer number n, return the difference between the product of its digits and the sum of its digits. Example 1: Input: n = 234 Output: 15 Explanation: Product of digits = 2β¦
https://thecodingbot.com/leetcode-1281-subtract-the-product-and-sum-of-digits-of-an-integer/
The Coding Bot
LeetCode - 1281. Subtract the Product and Sum of Digits of an Integer - The Coding Bot
In this tutorial, we will see different ways to solve leetcode 1281 Subtract the product and Sum of Digits of an Integer using C++ and Python.
Forwarded from Computer Programming
Printing complete star triangle in C++
Problem Statement Given the number of rows, form a complete triangle made up of stars(asterisks) β*β. For Example Input: 5 Output: Complete star triangle pattern in C++ Solution This is an easy problem which can be solved simply using nested loops. Letβs try to understand this problem with an example. Consider the input number of rowsβ¦
https://thecodingbot.com/printing-complete-star-triangle-in-c/
Problem Statement Given the number of rows, form a complete triangle made up of stars(asterisks) β*β. For Example Input: 5 Output: Complete star triangle pattern in C++ Solution This is an easy problem which can be solved simply using nested loops. Letβs try to understand this problem with an example. Consider the input number of rowsβ¦
https://thecodingbot.com/printing-complete-star-triangle-in-c/
The Coding Bot
Printing complete star triangle in C++ - The Coding Bot
In this tutorial, we'll learn how to print complete star triangle pattern in C++. We'll also discuss the time and space complexity of the algorithm.
LeetCode β 175. Combine Two Tables
Problem Statement Table: Person +-------------+---------+ | Column Name | Type | +-------------+---------+ | PersonId | int | | FirstName | varchar | | LastName | varchar | +-------------+---------+ PersonId is the primary key column for thisβ¦
https://thecodingbot.com/leetcode-175-combine-two-tables/
Problem Statement Table: Person +-------------+---------+ | Column Name | Type | +-------------+---------+ | PersonId | int | | FirstName | varchar | | LastName | varchar | +-------------+---------+ PersonId is the primary key column for thisβ¦
https://thecodingbot.com/leetcode-175-combine-two-tables/
The Coding Bot
LeetCode - 175. Combine Two Tables - The Coding Bot
In this tutorial, we will see how we can solve leetcode - 175. combine two tables.
It is thursday and we learn about algorithms today. Today's topic is "How to implement a Linear Regression algorithm from Scratch in Python?"
Here are some top resources:
1. Machine Learning Mastery: https://machinelearningmastery.com/implement-simple-linear-regression-scratch-python/
2. Towards Data Science Blog:
Part 1: https://towardsdatascience.com/linear-regression-from-scratch-cd0dee067f72
Part 2: https://towardsdatascience.com/implementation-linear-regression-in-python-in-5-minutes-from-scratch-f111c8cc5c99
Source Code from github:
1. https://github.com/sarvasvkulpati/LinearRegression
ββββββββββ-
For complete beginners, read about Linear Regression here -
1.https://towardsdatascience.com/introduction-to-machine-learning-algorithms-linear-regression-14c4e325882a
2. Or here, https://machinelearningmastery.com/linear-regression-for-machine-learning/
Kaggle competition where you can use Linear Regression
1. https://www.kaggle.com/c/house-prices-advanced-regression-techniques
2. https://www.kaggle.com/c/rossmann-store-sales
Happy Machine Learning (thecodingbot.com, t.me/computerprogrammingcodingbot)
Here are some top resources:
1. Machine Learning Mastery: https://machinelearningmastery.com/implement-simple-linear-regression-scratch-python/
2. Towards Data Science Blog:
Part 1: https://towardsdatascience.com/linear-regression-from-scratch-cd0dee067f72
Part 2: https://towardsdatascience.com/implementation-linear-regression-in-python-in-5-minutes-from-scratch-f111c8cc5c99
Source Code from github:
1. https://github.com/sarvasvkulpati/LinearRegression
ββββββββββ-
For complete beginners, read about Linear Regression here -
1.https://towardsdatascience.com/introduction-to-machine-learning-algorithms-linear-regression-14c4e325882a
2. Or here, https://machinelearningmastery.com/linear-regression-for-machine-learning/
Kaggle competition where you can use Linear Regression
1. https://www.kaggle.com/c/house-prices-advanced-regression-techniques
2. https://www.kaggle.com/c/rossmann-store-sales
Happy Machine Learning (thecodingbot.com, t.me/computerprogrammingcodingbot)
LeetCode β 1221. Split a String in Balanced Strings
Problem Statement Balanced strings are those who have equal quantity of βLβ and βRβ characters. Given a balanced string s split it in the maximum amount of balanced strings. Return the maximum amount of splitted balanced strings. Exampleβ¦
https://thecodingbot.com/leetcode-1221-split-a-string-in-balanced-strings/
Problem Statement Balanced strings are those who have equal quantity of βLβ and βRβ characters. Given a balanced string s split it in the maximum amount of balanced strings. Return the maximum amount of splitted balanced strings. Exampleβ¦
https://thecodingbot.com/leetcode-1221-split-a-string-in-balanced-strings/
The Coding Bot
LeetCode - 1221. Split a String in Balanced Strings - The Coding Bot
In this tutorial, we will see how we can solve LeetCode 1221 split a string in a balanced string.
Computer Programming
http://www.computer-books.us/cpp_0010.php
An ebook to make you familar with C++ with QT framework
Convert column/header names to uppercase in a Pandas DataFrame
Overview The problem is very similar to β Capitalize the first letter in the column of a Pandas dataframe, you might want to check that as well. The first thing we should know is Dataframe.columnsβ¦
https://thecodingbot.com/convert-column-header-names-to-uppercase-in-a-pandas-dataframe/
Overview The problem is very similar to β Capitalize the first letter in the column of a Pandas dataframe, you might want to check that as well. The first thing we should know is Dataframe.columnsβ¦
https://thecodingbot.com/convert-column-header-names-to-uppercase-in-a-pandas-dataframe/
The Coding Bot
Convert column/header names to uppercase in a Pandas DataFrame - The Coding Bot
In this tutorial, we will see how we can conver the column/header name of a pandas dataframe to uppercase.
Pythonβs len(set) method with examples
Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. Thereβs a dedicated data structure for sets in almost every advanced programming language, and python too is notβ¦
https://thecodingbot.com/pythons-lenset-method-with-examples/
Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. Thereβs a dedicated data structure for sets in almost every advanced programming language, and python too is notβ¦
https://thecodingbot.com/pythons-lenset-method-with-examples/
The Coding Bot
Python's len(set) method with examples - The Coding Bot
In this tutorial, we will see python set's len() function in great detail along with examples.
One of the member requested tutorials on combinatorics. Here's list of resources on the same:
Basics of combinatorics:
1. https://www.topcoder.com/community/competitive-programming/tutorials/basics-of-combinatorics/
2.Maths for competitive programming:
https://www.topcoder.com/community/competitive-programming/tutorials/mathematics-for-topcoders/
3. Advanced tutorial(dp+combinatorics) :
https://codeforces.com/blog/entry/54154
Where to find problems on combinatorics?
1. https://a2oj.com/category?ID=90
2. https://codeforces.com/problemset?tags=combinatorics
3. https://www.codechef.com/tags/problems/combinatorics
Happy coding(thecodingbot.com, t.me/computerprogrammingcodingbot)
Basics of combinatorics:
1. https://www.topcoder.com/community/competitive-programming/tutorials/basics-of-combinatorics/
2.Maths for competitive programming:
https://www.topcoder.com/community/competitive-programming/tutorials/mathematics-for-topcoders/
3. Advanced tutorial(dp+combinatorics) :
https://codeforces.com/blog/entry/54154
Where to find problems on combinatorics?
1. https://a2oj.com/category?ID=90
2. https://codeforces.com/problemset?tags=combinatorics
3. https://www.codechef.com/tags/problems/combinatorics
Happy coding(thecodingbot.com, t.me/computerprogrammingcodingbot)
Computer Programming
dmoi-tablet.pdf
Some books on discrete maths and combinatorics
Where to learn data science from?
Blogs: kdnuggets.com, machinelearningmastery.com, kaggleblogs, Data Science Central(https://www.datasciencecentral.com), analytics vidhya blog(https://www.analyticsvidhya.com/blog/), fastml(fastml.com,very advanced sometimes).
Books: Python machine learning, Introduction to statistical learning, Elements of Statistical learning(order according to the difficulty).
Practice: analytics vidhya, kaggle, crowdanalytix, hackerrank(sometimes the competitions are held), hackerearth(few data science competitions).
Youtubechannel: Data School, Sentdex, ML trainings.
MOOCs: How to win a kaggle competition(coursera)[RECOMMENDED], Machine Learning by andrew ng(coursera), deeplearning(specialization) on by deeplearning.ai(coursera).
Datasets: Kaggle Datasets(https://www.kaggle.com/datasets), https://lionbridge.ai/datasets/the-50-best-free-datasets-for-machine-learning/, UCI Machine Learning Repo(https://archive.ics.uci.edu/ml/index.php)
Beginner level competitions:
1. Classification - (titanic sinking)https://www.kaggle.com/c/titanic, (load price prediction) https://datahack.analyticsvidhya.com/contest/practice-problem-loan-prediction-iii/
2. Regression - https://www.kaggle.com/c/house-prices-advanced-regression-techniques
Enjoy
(thecodingbot.com, t.me/computerprogrammingcodingbot)
Blogs: kdnuggets.com, machinelearningmastery.com, kaggleblogs, Data Science Central(https://www.datasciencecentral.com), analytics vidhya blog(https://www.analyticsvidhya.com/blog/), fastml(fastml.com,very advanced sometimes).
Books: Python machine learning, Introduction to statistical learning, Elements of Statistical learning(order according to the difficulty).
Practice: analytics vidhya, kaggle, crowdanalytix, hackerrank(sometimes the competitions are held), hackerearth(few data science competitions).
Youtubechannel: Data School, Sentdex, ML trainings.
MOOCs: How to win a kaggle competition(coursera)[RECOMMENDED], Machine Learning by andrew ng(coursera), deeplearning(specialization) on by deeplearning.ai(coursera).
Datasets: Kaggle Datasets(https://www.kaggle.com/datasets), https://lionbridge.ai/datasets/the-50-best-free-datasets-for-machine-learning/, UCI Machine Learning Repo(https://archive.ics.uci.edu/ml/index.php)
Beginner level competitions:
1. Classification - (titanic sinking)https://www.kaggle.com/c/titanic, (load price prediction) https://datahack.analyticsvidhya.com/contest/practice-problem-loan-prediction-iii/
2. Regression - https://www.kaggle.com/c/house-prices-advanced-regression-techniques
Enjoy
(thecodingbot.com, t.me/computerprogrammingcodingbot)
Pythonβs set β x in s
Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. In python, the sets have the following properties: Sets are unordered.Set elements are unique i.e duplicate elements areβ¦
https://thecodingbot.com/pythons-set-x-in-s/
Overview Set in mathematics is a well-defined collection of distinct objects which are often called as elements or the members. In python, the sets have the following properties: Sets are unordered.Set elements are unique i.e duplicate elements areβ¦
https://thecodingbot.com/pythons-set-x-in-s/
The Coding Bot
Python's set - x in s - The Coding Bot
Check the membership of an element x in python set s - x in s.
How to build a complete Ecommerce website using Django - https://www.youtube.com/watch?v=YZvRrldjf1Y
Very beginner friendly, no prerequisites.
Happy coding. Enjoy
(thecodingbot.com, t.me/computerprogrammingcodingbot)
Very beginner friendly, no prerequisites.
Happy coding. Enjoy
(thecodingbot.com, t.me/computerprogrammingcodingbot)
YouTube
How to Build an E-commerce Website with Django and Python
Learn how to build an E-commerce website with Django and Python.
π» Project code: https://github.com/justdjango/django-ecommerce
π» Original code: https://mdbootstrap.com/freebies/jquery/e-commerce/
π₯ Tutorial from JustDjango. Check out their Youtube Channel:β¦
π» Project code: https://github.com/justdjango/django-ecommerce
π» Original code: https://mdbootstrap.com/freebies/jquery/e-commerce/
π₯ Tutorial from JustDjango. Check out their Youtube Channel:β¦
How to backup your wordpress site for free
This video clearly demonstrate how one can easily create recuring backups for their wordpress site for free. Very high quality content, to the point, no prerequsites
https://youtu.be/AJI-ZMD7qWE
This video clearly demonstrate how one can easily create recuring backups for their wordpress site for free. Very high quality content, to the point, no prerequsites
https://youtu.be/AJI-ZMD7qWE
YouTube
How to Backup Your WordPress Website
β€οΈ *Updraft Premium Feature* β https://websitelearners.com/get/updraftaddons
π *#1 Content Generator* β https://gravitywrite.com/
π *The Best Place to Host your Website* β https://webspacekit.com/
π ππ²π π±π¬% π’ππ π’π‘ ππ΅π² π¦π¨π£ππ₯ πππ¦π§ πͺπΌπΏπ±π£πΏπ²ππ ππΌπππΆπ»π΄ β hβ¦
π *#1 Content Generator* β https://gravitywrite.com/
π *The Best Place to Host your Website* β https://webspacekit.com/
π ππ²π π±π¬% π’ππ π’π‘ ππ΅π² π¦π¨π£ππ₯ πππ¦π§ πͺπΌπΏπ±π£πΏπ²ππ ππΌπππΆπ»π΄ β hβ¦
Why is O(c * N) same as O(N) in big-O analysis of analysis of an algorithm?
Very very important concept. Have a great read here -> https://stackoverflow.com/a/22188943/7355205
Very very important concept. Have a great read here -> https://stackoverflow.com/a/22188943/7355205
Stack Overflow
Why is the constant always dropped from big O analysis?
I'm trying to understand a particular aspect of Big O analysis in the context of running programs on a PC.
Suppose I have an algorithm that has a performance of O(n + 2). Here if n gets really lar...
Suppose I have an algorithm that has a performance of O(n + 2). Here if n gets really lar...