Common Machine Learning Algorithms explanation along with codes in Python as well as R https://www.analyticsvidhya.com/blog/2017/09/common-machine-learning-algorithms/
Analytics Vidhya
Top 10 Machine Learning Algorithms in 2026
Learn about 10 machine learning algorithms that are transforming data analysis and shaping the future of computing. Read Now!
LeetCode – 176. Second Highest Salary
Problem Statement Write a SQL query to get the second highest salary from the Employee table. +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 | | 3 | 300…
https://thecodingbot.com/leetcode-176-second-highest-salary/
Problem Statement Write a SQL query to get the second highest salary from the Employee table. +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 | | 3 | 300…
https://thecodingbot.com/leetcode-176-second-highest-salary/
The Coding Bot
LeetCode – 176. Second Highest Salary - The Coding Bot
In this tutorial, we will see different approaches to solve leetcode 176 second highest salary problem in MYSQL.
***Competitive Programming***
Almost 1000 problems for newcomers to be good upto Div2-D in Codeforces by Dr Mostafa Saad Ibrahim https://goo.gl/unDETI
Almost 1000 problems for newcomers to be good upto Div2-D in Codeforces by Dr Mostafa Saad Ibrahim https://goo.gl/unDETI
Google Docs
Junior Training Sheet V7.0 - <<<READ row 34 to make your own EDITABLE COPY>>>
How to prepare for ACM-ICPC? Detailed blogpost here https://www.geeksforgeeks.org/how-to-prepare-for-acm-icpc/
GeeksforGeeks
How to prepare for ACM - ICPC? - GeeksforGeeks
Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.
145 algorithms list along with C++ code snippet http://e-maxx.ru/algo/
**Note**
The site is in russian and you will need to translate it using the google translate.
**Note**
The site is in russian and you will need to translate it using the google translate.
How to add comments within SQL statements?
Overview Comments are the text notes that are written by the developer to add explanatory information about the source code. The purpose of adding comments to the source code is to make it easier to…
https://thecodingbot.com/how-to-add-comments-within-sql-statements/
Overview Comments are the text notes that are written by the developer to add explanatory information about the source code. The purpose of adding comments to the source code is to make it easier to…
https://thecodingbot.com/how-to-add-comments-within-sql-statements/
The Coding Bot
How to add comments within SQL statements? - The Coding Bot
In this tutorial, we will see how we can add single as well as mult-line comments within SQL statements...
Mean of range in an array
Problem Statement Given an array of N integers. You are given q queries. Write a program to print floor value of mean in range l to r for each query in a new line. Examples…
https://thecodingbot.com/mean-of-range-in-an-array/
Problem Statement Given an array of N integers. You are given q queries. Write a program to print floor value of mean in range l to r for each query in a new line. Examples…
https://thecodingbot.com/mean-of-range-in-an-array/
The Coding Bot
Mean of range in an array - The Coding Bot
In this tutorial, we'll see how we can find mean of a range of values in an array for multiple queries, we'll also see the optimization using prefix sum...
Forwarded from Computer Programming
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
Forwarded from Computer Programming
LeetCode – 387. First Unique Character in a String
Problem Statement: Given a string, find the first non-repeating character in it and return its index. If it doesn’t exist, return -1. Examples: s = "leetcode" return 0. s = "loveleetcode", return 2. Note: You may assume the string contains only lowercase letters. Solution Probably the best approach to solve this problem is by traversing the string and using a…
https://thecodingbot.com/leetcode-387-first-unique-character-in-a-string/
Problem Statement: Given a string, find the first non-repeating character in it and return its index. If it doesn’t exist, return -1. Examples: s = "leetcode" return 0. s = "loveleetcode", return 2. Note: You may assume the string contains only lowercase letters. Solution Probably the best approach to solve this problem is by traversing the string and using a…
https://thecodingbot.com/leetcode-387-first-unique-character-in-a-string/
The Coding Bot
LeetCode - 387. First Unique Character in a String - The Coding Bot
In this tutorial, we will see how we can solve leetcode problem 387 - "First Unique Character in a String"
How to run scripts from the python shell?
Running python script from the command line or terminal is pretty easy, you just have to type run python script_name.py and it is done. Take a look at the example below to see how it…
https://thecodingbot.com/how-to-run-scripts-from-the-python-shell/
Running python script from the command line or terminal is pretty easy, you just have to type run python script_name.py and it is done. Take a look at the example below to see how it…
https://thecodingbot.com/how-to-run-scripts-from-the-python-shell/
The Coding Bot
How to run scripts from the python shell? - The Coding Bot
In this tutorial, we will see how we can run a script from IDLE python shell. We will also see how we can send command-line arguments to the script..
Forwarded from Computer Programming
Different type of looping in Python
Overview In programming, a loop is a sequence of instructions that are continuously repeated until certain condition(s) is(are) met. The condition is often known as the terminating condition. In python, the Loops are broadly classified…
https://thecodingbot.com/different-type-of-looping-in-python/
Overview In programming, a loop is a sequence of instructions that are continuously repeated until certain condition(s) is(are) met. The condition is often known as the terminating condition. In python, the Loops are broadly classified…
https://thecodingbot.com/different-type-of-looping-in-python/
The Coding Bot
Different type of looping in Python - The Coding Bot
In this article, we will talk about for and while loop. Under for loop, we will discuss about range(), xrange() and other important functions
Given (x,y) coordinates of n houses, where should you build a road parallel to the x-axis to minimize the construction cost of building driveways?
Figure Road-House driveway Although the question is pretty clear, it is still necessary to clarify a few things. The road actual costs nothing to build. All the costs that we are considering in the question…
https://thecodingbot.com/given-xy-coordinates-of-n-houses-where-should-you-build-a-road-parallel-to-the-x-axis-to-minimize-the-construction-cost-of-building-driveways/
Figure Road-House driveway Although the question is pretty clear, it is still necessary to clarify a few things. The road actual costs nothing to build. All the costs that we are considering in the question…
https://thecodingbot.com/given-xy-coordinates-of-n-houses-where-should-you-build-a-road-parallel-to-the-x-axis-to-minimize-the-construction-cost-of-building-driveways/
HugeDomains
TheCodingBot.com is for sale | HugeDomains
This domain is for sale! Fast and easy shopping. Trusted and secure since 2005.
Forwarded from Computer Programming
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…
Forwarded from Computer Programming
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)
Count the number of nodes in a circular linked list
Problem Statement Given a circular linked list, you have to count the number of nodes in it. For example: A Circular linked list with a total of 6 nodes. Solution Well, there is only one…
https://thecodingbot.com/count-the-number-of-nodes-in-a-circular-linked-list/
Problem Statement Given a circular linked list, you have to count the number of nodes in it. For example: A Circular linked list with a total of 6 nodes. Solution Well, there is only one…
https://thecodingbot.com/count-the-number-of-nodes-in-a-circular-linked-list/
The Coding Bot
Count the number of nodes in a circular linked list - The Coding Bot
In this tutorial, we will see how we can count the number of nodes in a circular linked list, using iterative and recursive approaches...
I apologize for not being active for couple of days. Will be posting regularly from 3rd. Any ideas feedback write to: thecodingbot@gmail.com
Forwarded from Computer Programming
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.
The blog and this channel has not been active for some time now. I have been going through some rough patches in my personal life and not really sure when will I be able to continue posting. All the members are welcome to stay as I am not going to delete the channel or blog but can't assure you when will I be able to make a comeback. You guys were amazing audience.
A good article on how to use Unsupervised Learning (K Means) + NLP https://medium.com/@lucasdesa/text-clustering-with-k-means-a039d84a941b
Medium
Text Clustering with K-Means
Clustering national anthems with unsupervised learning