The objective of search in Artificial Intelligence (AI) is to find the path to solve different problems. The search in AI can be executed in two ways namely, Forward Reasoning and Backward Reasoning. The most basic difference between the two is that forward reasoning starts with the new data to find conclusions, whereas backward reasoning starts with a conclusion to determining the initial data. Read this article to learn more about Forward Reasoning and Backward Reasoning and how they are different from each other. What is Forward Reasoning? Forward reasoning is a process in artificial intelligence that finds all the ... Read More
An array is always a fixed size. To add value to the array, you need to create a new copy of the array and add value to it. To do so, you simply need to use += operator.For example, you have an existing array as given below.$array = 1, 2, 3, 4, 5To add value “Hello” to the array, we will use += sign.$array += "Hello"Now, we will check the output of the array.We have another method to add value to the array. By Add() operation of the array.$array.Add("Hi")When you use the above method to add a variable in the ... Read More
In Python, a list is an ordered sequence that can hold several object types such as integer, character, or float. In other programming languages, a list is equivalent to an array. Square brackets are used to denote it, and a comma (, ) is used to divide two items in the list. In this article, we will show you how to sort the objects and elements in a list using python. Below are the different methods to accomplish this task − Using sort() method Using sorted() method Assume we have taken a list containing some elements. We will ... Read More
HashMap and IdentityHashMap are the key value data sets which are used to access the key data pairs. More specifically. A HashMap is a Java collection framework which provides the functionality of a proper hash table data set. The map stores the element value as a key or pairs which are the unique identifiers in nature. This map also permits the null values as a non synchronized class. The IdentityHashMap is a special type of hash class by which we handle the rare cases related to the reference-equality. This map compare the keys by using a " = = " operator ... Read More
A HashTable is a compact abstract data set which converts the keys of a map to the values by computing the indexes into an array of slots to enable faster data access. On the other hand, a synchronized map is a Java collection class which is mainly used to synchronize a particular map to make it a thread safe collection and can be applied on a whole object. The map does not contain any null value. Input [ ARB, RDD, KOL, DHKA ] Output Insertion Order of objects in HashTable : [ ARB, RDD, KOL, DHKA ] Insertion Order of objects in Synchronized Map : [ ... Read More
The IdentityHashMap is a special type of hash class by which we handle the rare cases related to the reference-equality. This map compares the keys by using a " = = " operator where the normal hashmap uses the " equals " method for this. A Weak HashMap is a type of map interface where the hash table merges its keys with the weak reference type of values. This type of map class can not be used further just because of the lack of reference pointers. An enum map is a special type of map class which contains only the ... Read More
The HashSet, LinkedHashSet and TreeSet are the set interface class mainly used to store the elements. HashSet − A HashSet is a container instance which stores the unique elements only in a non synchronized manner to handle the high-performance operations involving with the set. The set allows the null values which does not follow the order of insertion. LinkedHashSet − The LinkedHashSet is a cloned data structure which have the both facilities of a hashtable and linked list as a set interface. The ordered version of a LinkedHashSet always works as a doubly linked list on over the input elements. TreeSet ... Read More
The travelling salesman problem is a popular topic in AI and operational research. Since its first articulation, a plethora of publications have been written providing various solutions to this problem. Furthermore, a slew of novel formulations has been presented by associated practitioners in an attempt to broaden the application of the fundamental TSP. Travelling Salesman Problem: Definition Formally defined, the travelling salesman problem (TSP) is as follows - Discover the shortest way that covers each city "precisely once and returns to the initial city" when provided with a collection of cities and distances between each city. More On The Problem ... Read More
Salesforce is an industry pioneer in the fields of customer relationship management (CRM) as well as business automation, offering powerful tools as well as solutions to expedite diverse organizational processes. The object relations of Salesforce's architecture, that specify how various data objects interact and link inside the system, are one of its core features. Object relations serve as vital for organizing and organizing data, enabling companies to operate more effectively. The three different object relations in Salesforce are covered in-depth in this article, along with their significance and uses. Master-Detail Relationship Within the Salesforce data model, the master-detail relationship is a ... Read More
Salesforce has enabled companies of all sizes to optimize their operations, nurture stronger relationships, and spur growth. Salesforce is an expert in customer relationship management (CRM) technologies. Process Builder as well as Flows distinguish out among their selection of remedies as effective tools for automating processes, optimizing workflows, and improving user experiences. Although they appear to have similar goals, they differ in specific ways. We examine the distinctions between Process Builder and Flows inside the Salesforce ecosystem in this thorough investigation, highlighting their features, uses, and the situations where they truly shine. Process Builder and Flows can work together to ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP