Often when I’m solving problems, I don’t realize how fast time goes by and it's has been an hour I have been thinking and trying brute forces for my problem.
Don’t ever spend more than 15 mins thinking about a problem.
I have to keep in mind…
If you’re not able to come up with a solution within 1/2 hour or so - You don’t know how to solve it
Simple as that
Why you’re not able to solve a problem?
Either you’ve been living under a rock and have no idea, that there exists an algorithm to solve it in a particular manner or if you’re not motivated enough to solve it and therefore, your mind is roaming Italy! At the beginning of my coding days, I used to pick up a problem randomly and spend hours thinking and trying the same old…
This is the most unchallenging data analysis I’ve ever done, on the simplest data set: Airlines but you’ll love it!
It had been a long break working on any data science project. The last project I did wasn’t successful and burned up my 90+ hours working on new frames on my core i3 computer. I know it’s a headache. I couldn’t start my new year with all the woe. Beginning 2021 up with something interesting and enlightening and simple(most important) was something I was craving.
I opened up my pc wide and started searching for a data set on Kaggle blindly, I reminded myself, an easy one..just a simple one..’ and here I present you with the most productive data analysis …the analysis which actually made me realize how weak my basics in visualization are! …
the malloc() Allocates memory and returns a pointer to the first byte of allocated space
calloc() Allocates space for an array of elements, initializes them to zero, and returns a pointer to the memory
free() Frees previously allocated memory
realloc() Alters the size of previously allocated memory
Memory allocations process
In computer science, the free memory region is called the heap.
The size of the heap is not constant as it keeps changing when the program is executed. In the course of program execution, some new variables are created and some variables cease to exist when the block in which they were declared is exited. …
Ubuntu Kylin is an official Ubuntu flavor whose primary goal is to create a variant of Ubuntu optimised for Chinese users (using the Simplified Chinese writing system), although it also supports other languages.
Out of which this article focuses on Ubuntu Kylin.
Your ferry made decent progress toward the island, but the storm came in faster than anyone expected. The ferry needs to take evasive actions!
Unfortunately, the ship’s navigation computer seems to be malfunctioning; rather than giving a route directly to safety, it produced extremely circuitous instructions. When the captain uses the PA system to ask if anyone can help, you quickly volunteer.
The navigation instructions (your puzzle input) consists of a sequence of single-character actions paired with integer input values. After staring at them for a few minutes, you work out what they probably mean:
Nmeans to move north by the given value. …
Clean up your cache in a few easy steps!
GNU/Linux has implemented efficient storage management for its users. But have you noticed your Linux system running out of space, filled with unused packages you installed months or years ago? How do find them and remove them? Here are a few valuable tips!
Cache files are stored in
/home/username/.cache which mostly consists of your browser’s data, IDE’s (if you use any ) and other software. Each user has its own data and this can build up exponentially . …
Hello Everyone ! So this article is about using graph objects directly to create geo-maps .Plotly’s Python graphing library makes interactive, publication-quality graphs.
plotly.py is an interactive, open-source, and browser-based graphing library for Python
Built on top of plotly.js ,
plotly.py is a high-level, declarative charting library. plotly.js ships with over 30 chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts, and more.
If you’re using anaconda then you can download it simply using this command on your
jupyter notebook . …
You can write programs that launch other programs on a schedule by using the subprocess and threading modules.
For example, you could schedule a backup for every week or month and at a scheduled time like 10: 00 pm.
Alright, before we get started I’d like to give a glimpse of what this article covers.
Your computer’s system clock is set to a specific date, time, and time zone.
The built-in time module allows your Python programs to read the system
clock for the current time. The time.time() and time.sleep() …
password=input('Enter your password')
if charRegex.findall(password) == :
print('Password must contain atleast 8 characters')
print('Password must contain atleast one digit')
print('Password must contain atleast one uppercase letter')
print('Password must contain atleast one letter')
print("The password is strong.Good Job!")
while not passStrong:
Say you’re a geography teacher with 35 students in your class and you want
to give a pop quiz on US state capitals. …
Here is a funny story: a teacher who teaches at a university used to complain saying that he was sick of seeing half of his students sleeping during his classes!
Poor things were always bored to death. It may have something to do with the fact that he was teaching “ Constitutional Law” , but still, indeed a good teacher should be someone who can make any subject interesting.
So he finally decided to do something about it and arranged a meeting with a famous Austrian Professor, specialised in Pedagogy, to ask her for an advice.
The first thing the woman said…