Featured Resource One-line Algorithms questions & facts Random algorithm facts for quick interview revision when you only have a minute to spare.
Book DSA Cheatsheet A Cheatsheet for data structures and algorithms practice, coding interview and problem-solving intuition.
Featured Resource One AI Systems Question Practice AI and ML systems prompts across P/D disaggregation, inference, training, RAG, platform engineering and reliability.
Machine Learning (ML) Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images In this article, we will have a simplified view of the research paper "Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images" by Anh
Software Engineering Delete files that have not been accessed recently using Python In this article, you will learn how to use the functionality provided by python modules to get the last access time of a file, recursively traversing the directories and deleting files.
Software Engineering Advanced Bitwise Operations in Python In this article, we have explored advanced bitwise operations in Python. Some of these operations include check if Two Numbers are the Same, add Two Numbers, multiply Two Numbers, swap Two Numbers and check Divisibility of a Number.
Machine Learning (ML) Performance metrics in Classification and Regression In this post, we will look at different performance metrics for classification and regression. For regression, metrics are Mean absolute error, Mean squared error, R-Square and many more. For classification, the metrics are accuracy, precision, recall and many more.
Software Engineering Put array in register in C/ C++ Placing an array in a register can improve performance significantly but only statically allocated array can be placed in a register explicitly as we cannot deal with memory location directly. We have explained this in detail.
Software Engineering Creating a custom Node.js module In this article, we have developed a custom Node.JS module to capitalize a string and have also published our module to NPM. We have illustrated the ideas step by step.
Software Engineering I Promise only in JavaScript! But Why? Promise is the keyword used for creating promises in JavaScript and is used to manage multiple asynchronous events. We have explained it in depth along with a comparison with callback.
Software Engineering Variadic function in C/ C++ Variadic functions in C and C++ are the functions that can take any number of arguments. This is a central part of utilities like printf. We have explained this in detail with examples.
Software Engineering How to convert Word document to PDF in JavaScript? In this article, we have explored how to convert a Word document to PDF in JavaScript. Popular methods include using libraries like awesome-unoconv, libreoffice-convert and docx-pdf.
Algorithms Longest Palindromic Substring using Dynamic Programming In this article, we have explored the longest palindromic substring problem for which brute force takes O(N^3) time while a Dynamic Programming approach takes O(N^2) time.
Software Engineering Rounding Functions in C / C++ In this article, we have focused on different rounding functions in C and C++ such as floor, ceil, round, trunc and fmod. We have explained each in detail with C++ code examples.
Software Engineering Variables in C Variable in C is a name of a memory location which holds a particular data as defined in the program. We have covered all points related to variables and the different types of variables as well.
Software Engineering Archiving in Python using shutil In this article, we are going to learn about using the shutil module in python to create an archive consisting of several smaller files. This is often required when we want to distribute the source code of any complex software applications which might contain hundreds of different files.
Machine Learning (ML) Hindi OCR (Optical Character Recognition) Hindi OCR is basically a model which is used to recognize handwritten Hindi (Devanagari) characters. We have demonstrated this with a custom CNN model.
Software Engineering Flask SQLAlchemy for Beginners SQLAlchemy is a toolkit and object relational mapper (ORM) that allows programmers to take hold of the power of SQL without all of the trouble of configuring their Python app to communicate correctly.
Algorithms Number of ways to reach a given number using increments of 1 and 2 The problem we will try to solve is to find the Number of ways to reach a given number (or a score in a game) using increments of 1 and 2 with consecutive 1s and consecutive 2s allowed. This is solved in linear time O(N) using Dynamic Programming.
Machine Learning (ML) Understand AdaBoost and Implement it Effectively In this article we will see how AdaBoost works and we will see main advantages and disadvantages that lead to an effective usage of the AdaBoost algorithm.
Machine Learning (ML) Lexicon based Sentiment Analysis Lexicon-based Sentiment Analysis techniques, as opposed to the Machine Learning techniques, are based on calculation of polarity scores given to positive and negative words in a document.
Software Engineering Chrono Library in C++ Chrono library is also used to measure time elapsed during execution of a C++ program. It can measure the time in seconds, milliseconds , micro seconds and nano seconds.
Software Engineering Build Management Software build is the process of converting source code into executable application or program. Build Management plays very important role in releasing an application.
Software Engineering Shutil module in Python Shutil module in Python offers a range of high level operations and functions to work with files and collections of files. The functionalities provided are copying a file, moving a file, disk usage, directory removal and many more.
Software Engineering Module in Python A module in Python is a library which is a collection of various utilities/ functions which can be loaded in external Python code and used accordingly. For example: One module in Python is string.
Software Engineering Writing to a File in C++ In this article, we have explored the way to write to a file in C++ in depth and explored opening and closing a file, appending data to the front of a file and appending data to end of a file (default).
Machine Learning (ML) Simplifying "Intriguing properties of neural networks" In this article, we have explored the paper "Intriguing properties of neural networks" by Christian Szegedy in depth as it is an influential paper which introduces two key properties that define Neural Networks.
Machine Learning (ML) Understanding the VGG19 Architecture VGG19 is a variant of VGG model which in short consists of 19 layers (16 convolution layers, 3 Fully connected layer, 5 MaxPool layers and 1 SoftMax layer). There are other variants of VGG like VGG11, VGG16 and others. VGG19 has 19.6 billion FLOPs.