Compiler Design Semantic analysis in Compiler Design During the 3rd phase of compiler design, the semantic analysis phase, the semantic analyzer uses information stored in a syntax tree and symbol table to check source code semantic consistency according to the provided language definition.
System Design Noisy Neighbor + Throttling pattern In this article, we have explored the Noisy Neighbor problem and how Throttling pattern (a Cloud Design Pattern) can be used to resolve the issue.
Data Communication and Computer Networks Types of Error correcting codes in Computer Network In this article we are going to explore about error correcting codes in computer network. We will be discussing various types of error correcting codes, how they work, what are their applications etc.
Machine Learning (ML) RNN Based Encoder and Decoder for Image Compression In this article, we will be discussing a about RNN Based Encoder and Decoder for Image Compression.
Data Communication and Computer Networks Physical Layer in OSI model In this article, we have explored Physical Layer in OSI model in depth along with functions and significance of Physical Layer.
Problems on Binary Tree Select Random Node from Binary Tree In this article, we have presented two algorithms to select a random node from Binary Tree while maintaining the uniform randomness.
List of Mathematical Algorithms Firoozbakht’s conjecture In this article, we have explored Firoozbakht’s conjecture in depth. Firoozbakht's conjecture is linked to upper limits for the prime gap function in terms of n. Asymptotic outcomes for both the conjecture and the function help us understand the interrelationships.
Machine Learning (ML) Law of Large Numbers The law of large numbers is one of the intuitive laws in probability and statistics.
Software Engineering Basics of XML Over the course of this article, we shall explore what XML is, its uses and advantages and then, basic syntax as well how XML documents are written. Let's begin!
Algorithms Cayley’s formula In this article, we have explained the idea of Cayley’s formula which is used to find the number of trees with N nodes and M connected components. We have presented an implementation to calculate Cayley’s formula.
Compiler Design Design of a Lexical Analyzer During the first phase of a compiler, a lexical analyzer is used to scan the input and identify tokens. We can either hand code a lexical analyzer or use a lex program to automatically generate one. In this article we discuss how the lexical analyzer is designed to perform its function.
computational geometry Check if 4 Line Segments form a Rectangle In this article, we will solve the problem of Check if 4 Line Segments form a Rectangle. This is a core problem of Computational Geometry.
Python Rename Conda Environment (2 commands) In this article, we have demonstrated commands using which you can rename a Conda environment. It is not directly possible to rename a conda environment but there are work-arounds.
Python Clone Conda Environment (3 techniques) In this article, we have presented commands to clone a Conda environment that is to create a duplicate conda environment with a new name. There are multiple options like using clone command, update command or copy files directly.
Python Delete Conda Environment (7 commands) In this article, we have explained and presented 7 commands to delete a Conda environment permanently. We can delete a conda environment either by name or by path.
Web Development Clearfix in Bootstrap Clearfix is a straightforward way for removing the floating of an element in a container that is linked to its child element without the need of any additional markup.
C++ Return value of main() in C / C++ The return value of main() function shows how the program exited. The normal exit of program is represented by zero return value. If the code has errors, fault etc., it will be terminated by non-zero value.
Machine Learning (ML) Image compression using K means clustering In this article, we will look at Image Compression using K-means Clustering which is an unsupervised learning algorithm. This is a lossy Image Compression technique.
Culture "Problems on Array: For Interviews and Competitive Programming" book This book "Problems on Array: For Interviews and Competitive Programming" is a deep dive into Array Data Structure, important algorithms and Practice problems on Array. There is no other book like this in the market. A must read.
Compiler Design Constant Folding and Constant Propagation in Compiler Design In this article, we discuss two compiler optimizations (Constant Folding and Constant Propagation) which enable the compiler to produce high performance and efficient assembly code.
Compiler Design Syntax Analysis in Compiler Design In this article, we discuss the second phase in compiler design where written code is evaluated for correctness.
Machine Learning (ML) Xavier Initialization In this article, we have explained the concept of Xavier Initialization which is a weight initialization technique used in Neural Networks.
Machine Learning (ML) Understanding Inception-ResNet V1 architecture In this article, we have explored the architecture of Inception-ResNet v1 model and understand the need for the model.
Compiler Design Lazy code motion in Compiler Design In this article, we will cover the basics of lazy code motion in compiler design. This is the idea of reducing redundant calculations or code size, saving resources or other optimizations.
System Design Basics of Rich Text Format (RTF) In this article, we have explored Rich Text Format (RTF) which is used for transferring documents between word processing software.