Software Engineering Building a chrome extension step by step In this guide, we have illustrated how to build a simple chrome extension step by step and how to load our chrome extension using Developer tools and check it.
Software Engineering mmap, brk and sbrk memory management calls in UNIX brk and sbrk are basic memory management system calls used in Unix and Unix-like operating systems. mmap maps files into memory. We have explored mmap, brk and sbrk in depth.
Algorithms Job Shop Problem Job Shop Problem: We are given a number of jobs and machines. Each job constitutes a sequence of tasks which need to be performed in a particular order. Each task can be processed on a specific machine. We need to schedule all the tasks.
Software Engineering nullptr (null pointer) in C++ A null pointer (nullptr) is a pointer that does not point to any memory location. nullptr is a keyword that was introduced in C++11 standard to denote a null pointer. This standard also introduced a nullptr_t type.
Machine Learning (ML) Applications of Random Forest Random Forest is mainly used for classification tasks and is used widely in production (applications) like in credit card fraud detection, cardiovascular disease medicine and many more.
Algorithms Find number of solutions of a linear equation of N variables We have to find the number of solutions to a linear equation of N variables. We have solved this using Dynamic Programming.
Algorithms Diameter of N-ary tree using Dynamic Programming We are given input as the reference to the root of an N-ary tree. We need to calculate the diameter of the tree that is the longest path between any two nodes using Dynamic Programming.
Algorithms Finding Diameter of Tree using Height of each Node We have explored the algorithm on how to find the diameter of the tree using height of each node. This will take linear time O(V+E) time complexity.
Software Engineering Design Graph using OOP concepts in Java You are going to learn to design and implement the graph data structure using OOP (Object Oriented Programming) Concepts. We will implement in Java but the ideas are applicable in any language.
Software Engineering Different ways to initialize 2D array in C++ We have explored different types to initialize 2D array in C++ like Sized array, Skipping values and Unsized array initialization.
Software Engineering Develop a year Progress bar in HTML/ JS In this article, we have developed a year Progress bar in HTML using JavaScript. We have explained the calculation and implementation in HTML and CSS for the frontend and JavaScript for the calculation.
Algorithms Longest common substring using rolling hash approach We can solve the longest common substring problem using the rolling hash technique in O(N * log(N)^2) time and O(N) space which is significantly better than other approaches.
Web Development Types of caching in Web Application We will be discussing on the Types of caching in Web Application. Firstly we'll discuss on the Introduction to Cache. Secondly, we'll get familiar with the Types of it.
Software Engineering Forms in HTML HTML Forms are used to collect information from users, such as a user name, email address, passwords, etc. There are various sorts of form controls that you can use to gather information utilizing HTML forms such as text field and others.
Software Engineering A Guide to CSS Pseudo Classes A pseudo class is basically a pseudo state of element which can be later targeted with CSS. They can be used to target and style those elements which cannot be targeted with normal CSS classes or Id.
Machine Learning (ML) Regression vs Correlation We have explored the key differences between Correlation and Regression along with the basic idea behind both concepts. There are mainly 5 differences between Regression and Correlation.
Algorithms Applications of Hash Map HashMap in java.util package implements the Map interface in java collection based on Hashtable. There are three main applications of Hash Map: Priority Queues, Dijkstra's Algorithm and Topological Sort.
Software Engineering Implementing pwd command in C/C++ We will use the header file dirent.h for directory structures and objects and implement our pwd command in C/C++. This will involve the getcwd() function call.
Software Engineering MineSweeper Game in React.Js In this tutorial, we have explained how to build a MineSweeper Game in React.Js. We have explained the rules of minesweeper and have explained the design of the app like 3 components: app, board and cell.
Machine Learning (ML) Introduction to GPT models Generative Pre-Training (GPT) models are trained on unlabeled dataset (which are available in abundance). There are different variants like GPT-1, GPT-2 and GPT-3 which we have explored.
Data Structures Splay Tree Splay trees are Self adjusting Binary Trees with additional property that recently accessed elements as kept near the top and hence, are quick to access next time.
Software Engineering Function scope in Python Function scope in Python means how a particular function is accessible from different components depending on LEGB (Local -> Enclosing -> Global -> Built-in) rule.
Algorithms Find number of substrings with same first and last characters You are given a string lets say "S" , you need to find the number of all contiguous substrings (part of "S") starting and ending with the same character.
Software Engineering Different ways to print in C Different ways to print in C are Formatted and Unformatted Output Functions, Printing using Formatted Function - printf(), putchar() and puts(). We have covered it with C code examples.
Algorithms Algorithms for Calculating Day of Week Some of the Algorithms for Calculating Day of Week are: Tomohiko Sakamoto Algorithm, Gausses Algorithm and Wang's Algorithm. We have covered the basics of Julian and Georgian calender as well.