Computer Programming
440 subscribers
6 files
231 links
We mainly post about Tech Interview Prep, Machine Learning, Full Stack, Data Structures, Algorithms & Programming Languages.

Please check the pinned message and invite your friends to this channel. Sharing is Caring 💕
Download Telegram
Computer Programming
An_Introduction_to_Statistical_Learning.pdf
Excellent Book, An Introduction to Statistical Learning provides an accessible overview of the field of statistical learning, an essential toolset for making sense of the vast and complex data sets that have emerged in fields ranging from biology to finance to marketing to astrophysics in the past twenty years. This book presents some of the most important modeling and prediction techniques, along with relevant applications. Topics include linear regression, classification, resampling methods, shrinkage approaches, tree-based methods, support vector machines, clustering, and more. Color graphics and real-world examples are used to illustrate the methods presented. Since the goal of this textbook is to facilitate the use of these statistical learning techniques by practitioners in science, industry, and other fields, each chapter contains a tutorial on implementing the analyses and methods presented in R, an extremely popular open source statistical software platform.
Print inverted hollow star triangle pattern in C++

Problem Statement Given the number of rows, form an inverted hollow triangle pattern made up of stars(asterisks)”*”. For Example Input: 5 Output: Inverted hollow star triangle pattern Solution This problem is a little tricky in comparison to its sister problem(printing a hollow star triangle). However, we can solve this easily by making a few changes…

https://thecodingbot.com/print-inverted-hollow-star-triangle-pattern-in-c/
#Book 2
Building Restful APIs using Django and Django Rest rest framework. The book is an easy guide for beginners. It is an extension of the 'poll' app from Django official tutorial into an API. Download link: bit.ly/buildingapiswithdjangorestframework
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/
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/
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/
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/
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/
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)
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/
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)