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
How to increment/decrement a variable in bash(shell scripting)?

Overview In this tutorial, we will see how we can increment/decrement a variable value in bash(shell scripting). There are a couple of ways to modify a variable value, we will try to cover them all…

https://thecodingbot.com/how-to-increment-decrement-a-variable-in-bashshell-scripting/
What is -eq in a bash(shell script)?

Overview -eq in bash(shell scripting) is a binary comparison operator which is used for arithmetic value comparison(i.e comparison of two integers). The general syntax is: INTEGER_1 -eq INTEGER_2 # INTEGER_1 is equal to INTEGER_2 Here,…

https://thecodingbot.com/what-is-eq-in-a-bashshell-script/
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/
Loops in Bash(Shell scripting)

Introduction In programming, a loop is a sequence of instructions that are continuously repeated till the certain condition(s) is(are) met. The condition is often known as the terminating condition. In bash scripting, we have different loop formats which…

https://thecodingbot.com/loops-in-bashshell-scripting/
Excellent resource to learn about telecom, LTE, 3G, 2G etc sharetechnotes.com
How to colour a specific cell in pandas dataframe based on its position?

Overview For this particular problem, we are going to use a feature of pandas known as conditional formatting. I have written a pretty detailed tutorial on conditional formatting in pandas in great detail which you…

https://thecodingbot.com/how-to-colour-a-specific-cell-in-pandas-dataframe-based-on-its-position/
LeetCode – 177. Nth Highest Salary

Problem Statement Write a SQL query to get the nth highest salary from the Employee table. +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 | | 3 | 300 | +----+--------+…

https://thecodingbot.com/leetcode-177-nth-highest-salary/
A very detailed tutorial on autocompletion with Django and jQuery

Introduction Have you ever wondered how you type something in the search bar and suddenly you start getting suggestions? This feature has always been in my todo list and I finally implemented it a few days back in my own website.…

https://thecodingbot.com/a-very-detailed-tutorial-on-autocompletion-with-django-and-jquery/
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/
***Competitive Programming***

Almost 1000 problems for newcomers to be good upto Div2-D in Codeforces by Dr Mostafa Saad Ibrahim
https://goo.gl/unDETI
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.
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/
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/
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)