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.
Software Engineering Work with files on the web using FileReader API in JavaScript FileReader object helps in reading data from a file or a Blob and store it in a JavaScript variable. The read is done asynchronously so as not to block the browser.
Software Engineering Get started with BLOBs in JavaScript BLOB (Binary Large OBject) is a data type which can be used to store binary data. We can convert our files and images into binary data and store it using BLOB. They are immutable objects that represent raw data.
Software Engineering Learn everything about Functions in JavaScript In this article, you will learn to use functions in JavaScript, how to pass functions as parameters or assign them to variables? and different types of functions like callback and arrow
Software Engineering Function Pointer in C++ A pointer is a variable that holds the address of another variable. Function pointers are similar and they point to functions. In this article, you will learn What is a function pointer and how to use it? and How to pass a function as an argument to another function?
Software Engineering Using CSS Selectors to work with specific HTML elements CSS Selectors are used to define the element(s) to which a particular set of CSS rules should be applied. The following article will take you through different selectors like class selector, attribute selectors, and selector combinations etc.
Software Engineering Learn to use Dask Dataframes Dask DataFrame is composed of many smaller Pandas DataFrames that are split row-wise along the index. An operation on a single Dask DataFrame triggers many operations on the Pandas DataFrames that constitutes it.
Problems on Binary Tree Learn how to traverse a Binary Tree (Inorder , Preorder , Postorder) In this article we will learn three Depth first traversals namely inorder, preorder and postorder and their use. These three types of traversals generally used in different types of binary tree. In summary, Inorder: left, root, right; Preorder: root, left, right and Postorder: left, right, root
Software Engineering Understand and use Static members in Java In this article, you will learn What are static members in Java?, When to use them? and When they can be a problem? Static means only one copy exists for the entire class irrespective of the number of objects that exists for that class.
Software Engineering Understanding and using Access Specifiers in Java Access specifiers are utilities/ code features that restrict the access to a particular code feature or data depending upon the source of the code requesting the access. In Java, they are private, public, protected and default.
Software Engineering Understanding Encapsulation in Java Encapsulation is an object oriented programming (OOP) implementation technique where we are related data members in a single unit (class) and define member functions to allow indirect and restricted control from the user side.
Software Engineering Understanding Classes and objects in Java You will understand Why we need classes?, How to define and use classes in Java?, Structure of classes in Java along with constructors and access specifiers, How to use objects in Java? and Characteristics and attributes of objects along with comparing two objects
Software Engineering Understanding and working with Third Party Cookies In this article, you will learn what are third party cookies and how it works?, Cookie profiling, its concern and comparison of third party cookie with first party cookie and a demonstration to build your own page with a third party cookie
Software Engineering Understanding and working with Cookies In this article, you will understand the basic idea of cookies, different types of cookies like third party and persistent, how to set, get and delete cookies in JavaScript?, how to view cookies? and how the World looks at it? and a demo to understand the inner workings of cookies
Machine Learning (ML) Understand Stacked Generalization (blending) in depth with code demonstration Basic idea behind stacking is to combine the predictions of 2 or more models to get predictions of higher accuracy than the previous submodels. We demonstrate the idea using a code example
Algorithms Find the maximum sum bitonic subsequence Given a sequence of numbers in an array A[0.......N]. Find the sum of the maximum bitonic subsequence in the array. naive algorithm will take exponential time O(N * (2^N)) but we can reduced it to O(N^2) using Dynamic programming. We will explore naive approach and go into the dynamic programming
Data Structures Optimizing a Segment Tree with Lazy Propagation Lazy propagation is an optimization technique for segment tree to delay some of the update queries so that a set of update queries can be performed more efficiently together and thus, reducing the number of operations performed. The time complexity remain the same.
Software Engineering Web workers and its API: Run intensive tasks in the background In some situations where javascript has to run big loops, the browser may prompt error messages. The situation explained above can be handled using Web Workers, who will do all the computationally expensive tasks without interrupting the user interface and typically run on separate threads.
Software Engineering Page Visibility API: Know when a user is on your page it was impossible for developers to specify the code that can be executed under any case of unloading a page. In order to solve this problem, Page Visibility API was introduced. The API will listen to any visible change of the page under all the cases, regardless of that, it's on phone or desktop.
Problems on Binary Tree Algorithm for finding minimum or maximum element in Binary Search Tree【O(log V) / O(V)】 Binary Search Tree is a node-based binary tree data structure and finding the maximum or minimum element take O(log N) in average and can take O(N) in the worst case to O(1) in the best case.
Problems on Binary Tree Understand everything about Binary Search Tree Binary search tree is a data structure that quickly allows us to maintain a sorted list of numbers in a tree data structure. It can be used to search for the presence of a number in O(log(n)) time and a simple traversal gives the numbers in sorted order.
Problems on Binary Tree Algorithm for finding the minimum number of swaps required to convert a binary tree to binary search tree We developed an algorithm for finding the minimum number of swaps required to convert a binary tree to binary search tree. The Idea is do the inorder traversal of binary tree and store it in an array.Then find the minimum number of swaps require to sort an array which is the output we want.
Algorithms Find and print all the paths between two vertices in a graph【O((2^V)*(V+E))】 Given a directed graph, a vertex ‘v1’ and a vertex ‘v2’, print all paths from given ‘v1’ to ‘v2’. The idea is to do Depth First Traversal of given directed graph. Start the traversal from v1. Keep storing the visited vertices in an array say path[]. If we reach the vertex v2, pathExist becomes true
Machine Learning (ML) Image Denoising and various image processing techniques for it We will take a look at what is an Image?, what is an Image Noise?, what are the various types of Noise?. Following it, we will understand the various traditional image processing filters and techniques used for image denoising.
Machine Learning (ML) Use of deep learning in NLP techniques You will get an idea about What is NLP?, use of deep learning in NLP and 5 impressive applications of deep learning for NLP like image captioning
Machine Learning (ML) Applications of Autoencoders Autoencoders are neural networks that aim to copy their inputs to outputs. The applications of autoencoders are Dimensionality Reduction, Image Compression, Image Denoising, Feature Extraction, Image generation, Sequence to sequence prediction and Recommendation system.