Nice place to start your django journey. A simple todo app based on Django :-https://github.com/CITGuru/todoapp
GitHub
GitHub - CITGuru/todoapp: A simple django todoapp
A simple django todoapp. Contribute to CITGuru/todoapp development by creating an account on GitHub.
Print the elements of a singly linked list in reverse order
Problem Statement Given a singly linked list, print its elements in reverse order. For example: Input : 1->2->3->4->NULL Output: Printing the linked list in reverse order: 4 3 2 1 Solution First of all, readers should be clear that this problem is not the same as reversing the linked list. In this problem, we just need to…
https://thecodingbot.com/print-the-elements-of-a-singly-linked-list-in-reverse-order/
Problem Statement Given a singly linked list, print its elements in reverse order. For example: Input : 1->2->3->4->NULL Output: Printing the linked list in reverse order: 4 3 2 1 Solution First of all, readers should be clear that this problem is not the same as reversing the linked list. In this problem, we just need to…
https://thecodingbot.com/print-the-elements-of-a-singly-linked-list-in-reverse-order/
The Coding Bot
Print the elements of a singly linked list in reverse order - The Coding Bot
Problem Statement Given a singly linked list, print its elements in reverse order. For example: Input : 1->2->3->4->NULLOutput: Printing the linked list in reverse order: 4 3 2 1 Solution First of all, readers should be clear that this problem is not the…
Computer Programming
Algorithms by robert sedewick.pdf
Full treatment of data structures and algorithms for sorting, searching, graph processing, and string processing, including fifty algorithms every programmer should know.
The minimum absolute difference between two elements in an Array
Problem Statement Given an array of integers, find and print the minimum absolute difference between any two elements in the array. Absolute difference (definition from Wikipedia): In mathematics, the absolute value or modulus of a real number x, denoted |x|, is the non-negative value of x without regard to its sign. Namely, |x| = x if x is positive, and |x| = −x if x is negative (in which case −x is positive), and |0| = 0. For example, the absolute value…
https://thecodingbot.com/the-minimum-absolute-difference-between-two-elements-in-an-array/
Problem Statement Given an array of integers, find and print the minimum absolute difference between any two elements in the array. Absolute difference (definition from Wikipedia): In mathematics, the absolute value or modulus of a real number x, denoted |x|, is the non-negative value of x without regard to its sign. Namely, |x| = x if x is positive, and |x| = −x if x is negative (in which case −x is positive), and |0| = 0. For example, the absolute value…
https://thecodingbot.com/the-minimum-absolute-difference-between-two-elements-in-an-array/
The Coding Bot
The minimum absolute difference between two elements in an Array - The Coding Bot
In this tutorial, we will see how we can find the minimum absolute difference between two elements in an array using c++...
Find the sum of all the elements in an array
Problem Statement Given an array of integers, find the sum of all its elements. For example: Input: arr = {1,9,-11,6,23} Output: 28 Input: arr = {4,4,9,5} Output:22 Solution Probably a very easy problem. We will try to solve it in multiple ways. Let’s begin the tutorial. Approach 1 – Simple Looping The most obvious way…
https://thecodingbot.com/find-the-sum-of-all-the-elements-in-an-array/
Problem Statement Given an array of integers, find the sum of all its elements. For example: Input: arr = {1,9,-11,6,23} Output: 28 Input: arr = {4,4,9,5} Output:22 Solution Probably a very easy problem. We will try to solve it in multiple ways. Let’s begin the tutorial. Approach 1 – Simple Looping The most obvious way…
https://thecodingbot.com/find-the-sum-of-all-the-elements-in-an-array/
The Coding Bot
Find the sum of all the elements in an array - The Coding Bot
In this tutorial, we will see different ways to find the sum of array elements in c++.
Computer Programming
https://www.youtube.com/playlist?list=PL2_aWCzGMAwI9HK8YPVBjElbLbI3ufctn
Top notch resource to learn about the time complexity analysis of an algorithm l, a youtube playlist.
Print the elements of an array in reverse order in C++
Problem Statement Given an array, print its elements in reverse order. Note: We are not allowed to change the structure of the array For example: Input: {1,2,44,33} Output: {33,44,2,1} Input: {99,11,33,88} Output: {88,33,11,99} Solution Pretty easy problem, we will see all the different ways to solve it. Approach 1 – Backward looping The most obvious…
https://thecodingbot.com/print-the-elements-of-an-array-in-reverse-order-in-c/
Problem Statement Given an array, print its elements in reverse order. Note: We are not allowed to change the structure of the array For example: Input: {1,2,44,33} Output: {33,44,2,1} Input: {99,11,33,88} Output: {88,33,11,99} Solution Pretty easy problem, we will see all the different ways to solve it. Approach 1 – Backward looping The most obvious…
https://thecodingbot.com/print-the-elements-of-an-array-in-reverse-order-in-c/
The Coding Bot
Print the elements of an array in reverse order in C++ - The Coding Bot
In this tutorial, we will see different approaches to print the array elements in reverse order.
Deleting a linked list in C++
Problem Statement Given a linked list, write a program to delete it. For Example Input: 2->4->6->9->NULL *After the Deletion* Output: The Linked List is Empty. Overview Before moving forward, it is necessary to clarify what we actually mean by deletion of the linked list. By deletion, we don’t mean to point the head of the…
https://thecodingbot.com/deleting-a-linked-list-in-c/
Problem Statement Given a linked list, write a program to delete it. For Example Input: 2->4->6->9->NULL *After the Deletion* Output: The Linked List is Empty. Overview Before moving forward, it is necessary to clarify what we actually mean by deletion of the linked list. By deletion, we don’t mean to point the head of the…
https://thecodingbot.com/deleting-a-linked-list-in-c/
The Coding Bot
Deleting a linked list in C++ - The Coding Bot
Problem Statement: Given a linked list, design a program to delete it. Deletion means deallocating the space allocated to all its node, and then pointing the head to NULL.
Computer Programming
https://www.youtube.com/user/lefticus1
Amazing channel to learn C++. Videos uploaded weekly. From advanced concepts to best practices. A channel you should must check.
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)
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)
LeetCode – 461. Hamming Distance
Problem Statement The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 2^31. For Example Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 …
https://thecodingbot.com/leetcode-461-hamming-distance/
Problem Statement The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 2^31. For Example Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 …
https://thecodingbot.com/leetcode-461-hamming-distance/
The Coding Bot
LeetCode - 461. Hamming Distance - The Coding Bot
In this tutorial, we will see different ways to solve leetcode 461 hamming distance problem using C++. We will also see the time and space complexity of the algorithm
Today's topic is Automation with Python. You can do many cool stuffs like spamming your friend's inbox, wishing your friend, replying to the posts on facebook wall etc.
Here are some resources from where you can learn automation in Python.
Opensource github projects:
1. https://github.com/ShivajiReddy/WhatsApp-Using-Python (Easy)
2. https://github.com/umangahuja1/Youtube/tree/master/Whatsapp%20Automation
2. https://github.com/draguve/WhatsSpam (Easy)
3. https://github.com/shauryauppal/PyWhatsapp (Slightly advanced)
Youtube tutorial:
1. https://www.youtube.com/watch?v=5hr0IdVM7Qg
2. https://www.youtube.com/watch?v=98OewpG8-yw
Documentation of the libraries you are most likely going to use in above projects:
1. Requests: https://requests.readthedocs.io/en/master/
2. Selenium: https://selenium.dev/documentation/en/
Happy Coding (thecodingbot.com,t.me/thecodingbotdaily)
Here are some resources from where you can learn automation in Python.
Opensource github projects:
1. https://github.com/ShivajiReddy/WhatsApp-Using-Python (Easy)
2. https://github.com/umangahuja1/Youtube/tree/master/Whatsapp%20Automation
2. https://github.com/draguve/WhatsSpam (Easy)
3. https://github.com/shauryauppal/PyWhatsapp (Slightly advanced)
Youtube tutorial:
1. https://www.youtube.com/watch?v=5hr0IdVM7Qg
2. https://www.youtube.com/watch?v=98OewpG8-yw
Documentation of the libraries you are most likely going to use in above projects:
1. Requests: https://requests.readthedocs.io/en/master/
2. Selenium: https://selenium.dev/documentation/en/
Happy Coding (thecodingbot.com,t.me/thecodingbotdaily)
Printing the elements of a vector in reverse order
Problem Statement Given a vector, print its elements in reverse order. Note: We are not allowed to change the structure of the vector. For example: Input: {1,2,44,33} Output: {33,44,2,1} Input: {99,11,33,88} Output: {88,33,11,99} Solution In this tutorial, we will see different ways to print the vector in reverse order. Approach 1 – Backward looping The most obvious approach is to…
https://thecodingbot.com/printing-the-elements-of-a-vector-in-reverse-order/
Problem Statement Given a vector, print its elements in reverse order. Note: We are not allowed to change the structure of the vector. For example: Input: {1,2,44,33} Output: {33,44,2,1} Input: {99,11,33,88} Output: {88,33,11,99} Solution In this tutorial, we will see different ways to print the vector in reverse order. Approach 1 – Backward looping The most obvious approach is to…
https://thecodingbot.com/printing-the-elements-of-a-vector-in-reverse-order/
The Coding Bot
Printing the elements of a vector in reverse order - The Coding Bot
In this tutorial, we will learn how we can print the values of a vector in reverse order in C++
It's sunday and we talk about miscellaneous stuff today.
Today's topic is C++ best practices.
Here are the top resources for your learning:
Books:
1. Cpp best practices(https://lefticus.gitbooks.io/cpp-best-practices/)[Intermediate-Advanced],
2. C++ notes for professional, 600+ pages of tricks and tips for developer(https://books.goalkicker.com/CPlusPlusBook/)
Youtube:
1.Jason Turner (https://www.youtube.com/user/lefticus1)
2.CppCon (https://www.youtube.com/user/CppCon)
If you don't know c++ and want to start fresh:
1.C++ 10 hours course!!!: https://www.youtube.com/watch?v=_bYFu9mBnr4&list=PL_c9BZzLwBRJVJsIfe97ey45V4LP_HXiG (Tip: To find the contents, scroll down to comment section)
2.Freecodecamp 4 hour beginner tutorial: https://www.youtube.com/watch?v=vLnPwxZdW4Y
3.The newboston c++ playlist: https://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83
4.The cherno's youtube playlist : https://www.youtube.com/watch?v=18c3MTX0PK0&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb
Open source github projects:
1.VLC, built completely on c++ : https://github.com/videolan/vlc
2.Tenserflow, built using c++ : https://github.com/tensorflow/tensorflow
3.Electron framework for cross platform desktop application is built on the top of c++: https://github.com/electron/electron
Note: The open source projects are really advanced and it is not expected that an indivdual can implement one like them easily. Please just refer them for best coding practices and other learnings.
Happy coding(thecodingbot.com,t.me/thecodingbotdaily)
Today's topic is C++ best practices.
Here are the top resources for your learning:
Books:
1. Cpp best practices(https://lefticus.gitbooks.io/cpp-best-practices/)[Intermediate-Advanced],
2. C++ notes for professional, 600+ pages of tricks and tips for developer(https://books.goalkicker.com/CPlusPlusBook/)
Youtube:
1.Jason Turner (https://www.youtube.com/user/lefticus1)
2.CppCon (https://www.youtube.com/user/CppCon)
If you don't know c++ and want to start fresh:
1.C++ 10 hours course!!!: https://www.youtube.com/watch?v=_bYFu9mBnr4&list=PL_c9BZzLwBRJVJsIfe97ey45V4LP_HXiG (Tip: To find the contents, scroll down to comment section)
2.Freecodecamp 4 hour beginner tutorial: https://www.youtube.com/watch?v=vLnPwxZdW4Y
3.The newboston c++ playlist: https://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83
4.The cherno's youtube playlist : https://www.youtube.com/watch?v=18c3MTX0PK0&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb
Open source github projects:
1.VLC, built completely on c++ : https://github.com/videolan/vlc
2.Tenserflow, built using c++ : https://github.com/tensorflow/tensorflow
3.Electron framework for cross platform desktop application is built on the top of c++: https://github.com/electron/electron
Note: The open source projects are really advanced and it is not expected that an indivdual can implement one like them easily. Please just refer them for best coding practices and other learnings.
Happy coding(thecodingbot.com,t.me/thecodingbotdaily)
lefticus.gitbooks.io
Introduction · C++ Best Practices
Insert a node in a sorted linked list
Problem Statement Given a sorted linked list and a node, insert the node in the linked list such that the linked list still remain sorted. For Example Input: 2 -> 8 -> 12 -> 41 ->NULL, val = 30 Output: 2 -> 8 -> 12 -> 30 ->41 -> NULL. Solutions Approach 1: Iterative Approach…
https://thecodingbot.com/insert-a-node-in-a-sorted-linked-list/
Problem Statement Given a sorted linked list and a node, insert the node in the linked list such that the linked list still remain sorted. For Example Input: 2 -> 8 -> 12 -> 41 ->NULL, val = 30 Output: 2 -> 8 -> 12 -> 30 ->41 -> NULL. Solutions Approach 1: Iterative Approach…
https://thecodingbot.com/insert-a-node-in-a-sorted-linked-list/
The Coding Bot
Insert a node in a sorted linked list - The Coding Bot
Problem Statement: Given a sorted linked list and a node, insert the node in the linked list such that the linked list still remain sorted.
Today is Monday and we talk about machine learning.
Here are some good research papers/blogs that will help you to understand different parts of machine learning better:
Data Cleaning:
1. https://towardsdatascience.com/the-art-of-cleaning-your-data-b713dbd49726
2. https://www.dataquest.io/blog/machine-learning-preparing-data/
3. Missing data treatement: https://www.kaggle.com/rtatman/data-cleaning-challenge-handling-missing-values
4. Quick guide on how to clean data(beginners): https://www.analyticsvidhya.com/blog/2015/06/quick-guide-text-data-cleaning-python/
Algorithm selection:
1. Slightly advance: https://hackernoon.com/choosing-the-right-machine-learning-algorithm-68126944ce1f
2. Valueable Discussion on kaggle: https://www.kaggle.com/getting-started/26947
3. Cheatsheet from Microsoft: http://download.microsoft.com/download/A/6/1/A613E11E-8F9C-424A-B99D-65344785C288/microsoft-machine-learning-algorithm-cheat-sheet-v6.pdf
4. Pros and Cons for each ML Algorithm(helps us to decide better Algorithm for our dataset):https://elitedatascience.com/machine-learning-algorithms
Hyper Parameter tuning:
1. https://www.jeremyjordan.me/hyperparameter-tuning/
2. https://www.datacamp.com/community/tutorials/parameter-optimization-machine-learning-models
3. Pretty decent guide: https://www.kaggle.com/willkoehrsen/intro-to-model-tuning-grid-and-random-search
4. Optimizing Hyper parameters: https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89320
Exploratory Data Analysis:
1. https://www.kaggle.com/anokas/exploratory-data-analysis-4
2. Follow all the kernels from this guy : https://www.kaggle.com/anokas
A guide for almost all ML problems, steps from start till end:
http://blog.kaggle.com/2016/07/21/approaching-almost-any-machine-learning-problem-abhishek-thakur/
Happy Machine Learning(thecodingbot.com, t.me/thecodingbotdaily)
Here are some good research papers/blogs that will help you to understand different parts of machine learning better:
Data Cleaning:
1. https://towardsdatascience.com/the-art-of-cleaning-your-data-b713dbd49726
2. https://www.dataquest.io/blog/machine-learning-preparing-data/
3. Missing data treatement: https://www.kaggle.com/rtatman/data-cleaning-challenge-handling-missing-values
4. Quick guide on how to clean data(beginners): https://www.analyticsvidhya.com/blog/2015/06/quick-guide-text-data-cleaning-python/
Algorithm selection:
1. Slightly advance: https://hackernoon.com/choosing-the-right-machine-learning-algorithm-68126944ce1f
2. Valueable Discussion on kaggle: https://www.kaggle.com/getting-started/26947
3. Cheatsheet from Microsoft: http://download.microsoft.com/download/A/6/1/A613E11E-8F9C-424A-B99D-65344785C288/microsoft-machine-learning-algorithm-cheat-sheet-v6.pdf
4. Pros and Cons for each ML Algorithm(helps us to decide better Algorithm for our dataset):https://elitedatascience.com/machine-learning-algorithms
Hyper Parameter tuning:
1. https://www.jeremyjordan.me/hyperparameter-tuning/
2. https://www.datacamp.com/community/tutorials/parameter-optimization-machine-learning-models
3. Pretty decent guide: https://www.kaggle.com/willkoehrsen/intro-to-model-tuning-grid-and-random-search
4. Optimizing Hyper parameters: https://www.kaggle.com/c/santander-customer-transaction-prediction/discussion/89320
Exploratory Data Analysis:
1. https://www.kaggle.com/anokas/exploratory-data-analysis-4
2. Follow all the kernels from this guy : https://www.kaggle.com/anokas
A guide for almost all ML problems, steps from start till end:
http://blog.kaggle.com/2016/07/21/approaching-almost-any-machine-learning-problem-abhishek-thakur/
Happy Machine Learning(thecodingbot.com, t.me/thecodingbotdaily)
Medium
The Art of Cleaning Your Data
Drop that bad data like Obama drops mics
Finding the majority element in an array
Problem Statement Given an array of size n, find the majority element. What is the majority element in an array? The majority element is the element that occurs more than half of the size of the array i.e the element should occur more than (⌊ N/2 ⌋) times. You may assume that the array is non-empty…
https://thecodingbot.com/finding-the-majority-element-in-an-array/
Problem Statement Given an array of size n, find the majority element. What is the majority element in an array? The majority element is the element that occurs more than half of the size of the array i.e the element should occur more than (⌊ N/2 ⌋) times. You may assume that the array is non-empty…
https://thecodingbot.com/finding-the-majority-element-in-an-array/
The Coding Bot
Finding the majority element in an array - The Coding Bot
In this aproach, we will discuss 4 different ways to find the majority element in the array using C++.