Software Engineering Swap two sets (set::swap) in C++ STL In this article, we will take a look into swapping two set containers in C++ Standard Template Library using swap method.
Machine Learning (ML) Hopfield Network Hopfield Network is a recurrent neural network with bipolar threshold neurons. It consists of a set of interconnected neurons that update their activation values asynchronously.
Software Engineering gets() vs fgets() in C and C++ gets() and fgets() are functions in C language to take input of string with spaces in between characters. gets suffer from buffer overflow which is solved by fgets
Algorithms Find number of subsets with sum divisible by given number M Find the number of subsets with sum divisible by given number M. We solved this using a Dynamic Programming approach with time complexity O(N * M).
Software Engineering Types of CPU Scheduling algorithms We explored different types of CPU Scheduling algorithms such as FCFS, SJF, SRTF, Round Robin, priority, multilevel queue and feedback queue scheduling.
Software Engineering Method Reference in Java Method reference introduced in Java 8 release along with lambda expression as a mechanism to further shorten the lambda expressions containing a method call.
Machine Learning (ML) Luhn’s Heuristic Method for text summarization The idea of Luhn’s Heuristic Method for text summarization is that any sentence with maximum occurrences of the highest frequency words(Stopwords) and least occurrences are not important to the meaning of the document
Algorithms Implement Least Recently Used (LRU) Cache In this article, we have implemented Least Recently Used cache using 2 data structures: Doubly Linked Lists and Hash Map and compared LRU with FIFO cache.
Software Engineering ctype.h in C ctype.h header file of the C Programming Language provide several functions that are used to testing different characters and changing some properties.
Software Engineering Different ways to remove elements from vector in C++ STL In this article, we will go through multiple ways to delete elements from a vector container in C++ STL like pop_back, pop_front, erase, clear, remove and more
Software Engineering Auto in C Auto is a storage class/ keyword in C Programming language which is used to declare a local variable, forward declaration of nested functions and non-contiguous memory allocation.
Data Structures Gap Buffer Gap buffer is a data structure used to edit array of text in an efficient manner which is currently being edited. It is used in text editors.
Software Engineering Canvas Fingerprinting Canvas Fingerprinting is the most commonly used method of fingerprinting. It's one of the techniques that identify users based on device performance.
Software Engineering Volatile in C Volatile in C programming language is a keyword which is used with variables to inform the compiler not to apply any optimizations to code dealing with the variable.
Software Engineering Extern in C Extern is a keyword in C programming language which is used to declare a global variable that is a variable without any memory assigned to it. It is used to declare variables and functions in header files.
Software Engineering Register in C Register is a keyword in C which suggests the system to use register as a memory for a variable instead of RAM. This accelerates the reading and writing of memory
Software Engineering _Bool in C _bool is a keyword in C Programming language representing boolean data type. It is an alternative to bool in C.
Machine Learning (ML) Eigenfaces for Face recognition In this article, we have explored EigenFaces in depth and how it can be used for Face recognition and developed a Python demo using OpenCV for it.
Software Engineering Methods to track users on the Web In this article, we have discussed some of the most powerful methods used to track users on the web which includes caching, cookies, fingerprinting and more
Software Engineering List of C Compilers (As early as 1973 and with the latest one at 2017) We have listed all major C compilers that has been in use. Some compilers were developed in 1980s (GNU GCC) while the recent ones are from 2017 (AOCC).
Software Engineering #if directive in C / C++ #if is a preprocessor directive in C to define conditional compilation. It can be used just like an if condition statement which impacts the compilation process
Software Engineering emplace_hint() in Set C++ STL emplace_hint() is a method of Set container in C++ STL to insert unique elements in a set at a desired position while maintaining the ascending order property of the set.
Software Engineering emplace() in Set C++ STL Emplace is a function of set container in C++ STL which is used to insert elements in the set. It is considered to be a faster alternative to insert().
Software Engineering Scanf and Printf in C Printf() and Scanf() are inbuilt library functions in C language that perform formatted input and formatted output functions. These functions are defined and declared in stdio.h header file.
Software Engineering Working with Navigator property of DOM In this article, we will look into navigator property of window object of a web document and use it to get information about the browser and load different code depending on browser.