Python ord() function and its application
In Python, ord() is a built-in function which returns an integer representing the Unicode point value of a character. Before discussing anything else, it is important to first know what the Unicode encoding is. Unicode Unicode is the encoding type or a standard which contains the character set of all the languages that exist, all…
https://thecodingbot.com/python-ord-function-and-its-application/
In Python, ord() is a built-in function which returns an integer representing the Unicode point value of a character. Before discussing anything else, it is important to first know what the Unicode encoding is. Unicode Unicode is the encoding type or a standard which contains the character set of all the languages that exist, all…
https://thecodingbot.com/python-ord-function-and-its-application/
The Coding Bot
Python ord() function and its application - The Coding Bot
In Python, ord() is a built-in function which returns an integer representing the Unicode point value of a character.
How to convert a string to Uppercase or Lowercase in C++
Problem Statement Given a string, you need to change the case of the string. If the question demands the conversion into uppercase, then change the case to uppercase, else convert the string into lowercase. Solution Approach 1 – Using the iteration In this approach, we will iterate the string and check the case of each…
https://thecodingbot.com/how-to-convert-a-string-to-uppercase-or-lowercase-in-c/
Problem Statement Given a string, you need to change the case of the string. If the question demands the conversion into uppercase, then change the case to uppercase, else convert the string into lowercase. Solution Approach 1 – Using the iteration In this approach, we will iterate the string and check the case of each…
https://thecodingbot.com/how-to-convert-a-string-to-uppercase-or-lowercase-in-c/
The Coding Bot
How to convert a string to Uppercase or Lowercase in C++ - The Coding Bot
Table of Contents Problem StatementSolution Approach 1 – Using the iterationFor Conversion to Lowercase Implementation of Approach 1 – Conversion to lowercaseFor Conversion to UppercaseImplementation of Approach 1 – Conversion to UppercaseApproach 2 – Using…
Python’s dictionary len() method
len() is a built-in function in python which returns the number of items in an object. It can be used with a sequence(list, tuple, string etc) or a collection (like dictionary, set etc). However, this tutorial shall only focus its use with a dictionary. For complete tutorial on built-in len(), visit: Python’s built-in len() method…
https://thecodingbot.com/pythons-len-on-a-dictionary/
len() is a built-in function in python which returns the number of items in an object. It can be used with a sequence(list, tuple, string etc) or a collection (like dictionary, set etc). However, this tutorial shall only focus its use with a dictionary. For complete tutorial on built-in len(), visit: Python’s built-in len() method…
https://thecodingbot.com/pythons-len-on-a-dictionary/
The Coding Bot
Python's dictionary len() method - The Coding Bot
In this article, we'll show you the use of python's len() function on a simple dictionary as well as on a nested dictionary.
Welcome to the official channel of thecodingbot.com. We mainly post about Technical Interviews Preparation, Machine Learning, Data Structures, Data Science, Algorithms, Big Data, Best practices, and other random stuff.
What will you get access to by joining this channel?
1️⃣ Quality Tutorials on different topics.
2️⃣ Best Curated resources.
3️⃣ Good open source projects link.
4️⃣ A bed time read which will help you to grow.
5️⃣ Occassionaly, some books (If they are open sourced).
6️⃣ Interview material for different companies.
We do have a schedule of posting over the week.
⏺ Monday - Machine Learning(Data Science, Libraries and Statistics)
⏺ Tuesday - Full Stack Developement(Django, Bootstrap, Node etc)
⏺ Wednesday - Data Structures( From basic to Advanced Data Structures)
⏺ Thursday - Algorithms
⏺ Friday - C and C++ ( Mostly about features, good articles, best practices and most used built-in functions of the language)
⏺ Saturday - Python ( Python features, good articles, best practices and most used built-in methods of the language)
⏺ Sunday - Miscellaneous Stuff ( Some good random post from internet related to computer science)
What we expect from you?
A simple help. Although, we write with all our heart, there are times we commit some mistakes too. Please help us to identify them so that we can correct it. If you find anything wrong/ incorrect/typo in any of our articles, then mail us to thecodingbot@gmail.com, or, leave your comment under the article.
Thanks you and I hope you achieve great heights.
What will you get access to by joining this channel?
1️⃣ Quality Tutorials on different topics.
2️⃣ Best Curated resources.
3️⃣ Good open source projects link.
4️⃣ A bed time read which will help you to grow.
5️⃣ Occassionaly, some books (If they are open sourced).
6️⃣ Interview material for different companies.
We do have a schedule of posting over the week.
⏺ Monday - Machine Learning(Data Science, Libraries and Statistics)
⏺ Tuesday - Full Stack Developement(Django, Bootstrap, Node etc)
⏺ Wednesday - Data Structures( From basic to Advanced Data Structures)
⏺ Thursday - Algorithms
⏺ Friday - C and C++ ( Mostly about features, good articles, best practices and most used built-in functions of the language)
⏺ Saturday - Python ( Python features, good articles, best practices and most used built-in methods of the language)
⏺ Sunday - Miscellaneous Stuff ( Some good random post from internet related to computer science)
What we expect from you?
A simple help. Although, we write with all our heart, there are times we commit some mistakes too. Please help us to identify them so that we can correct it. If you find anything wrong/ incorrect/typo in any of our articles, then mail us to thecodingbot@gmail.com, or, leave your comment under the article.
Thanks you and I hope you achieve great heights.
Computer Programming pinned «Welcome to the official channel of thecodingbot.com. We mainly post about Technical Interviews Preparation, Machine Learning, Data Structures, Data Science, Algorithms, Big Data, Best practices, and other random stuff. What will you get access to by joining…»
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/
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/
The Coding Bot
Print inverted hollow star triangle pattern in C++ - The Coding Bot
In this tutorial, we will learn how to make an inverted hollow star triangle pattern in c++. We'll also discuss the time and space complexity of algorithm..
Week #1 - Today's topic - Full Stack development(Django). Here's a list of top resources to learn Django Python Framework https://medium.com/quick-code/top-tutorials-to-learn-django-framework-for-python-beginners-fe1a9e315aa9
Medium
15+ Best Django Tutorials for beginners — Learn Django Online
Learn Django for web development with the best Django tutorials for beginners in 2021
#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
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
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.