Sudhir sharma has Published 1206 Articles

Biggest number by arranging numbers in certain order in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:45:31

124 Views

In this problem, we are given an array of numbers and we have to find the largest value that can be made by changing them in a certain way. the condition for the arrangement is, the order of even numbers and odd numbers shall remain the same i.e. the order ... Read More

C program to delete a file

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:40:35

2K+ Views

In programming, working with files is very important and every programming language has its own set of functions or library that help in manipulation of files.In C Programming Language also there is a function remove which can be used by the programmer to delete a file.remove() function in c programmingThe ... Read More

BFS for Disconnected Graph in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:37:46

745 Views

Disconnected graph is a Graph in which one or more nodes are not the endpoints of the graph i.e. they are not connected.A disconnected graph…Now, the Simple BFS is applicable only when the graph is connected i.e. all vertices of the graph are accessible from one node of the graph. ... Read More

Best meeting point in 2D binary array in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:32:49

124 Views

In this problem, we are given a 2D binary array i.e. it has values that are either 0 or 1, where 1 is marked as a home of a person of the group. And people of the group want to meet. So, they need to minimise the total distance travelled ... Read More

Best First Search (Informed Search)

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:29:28

6K+ Views

Best first search is a traversal technique that decides which node is to be visited next by checking which node is the most promising one and then check it. For this it uses an evaluation function to decide the traversal.This best first search technique of tree traversal comes under the ... Read More

Benefits of Using Modern Learning Apps

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:27:48

171 Views

Advancements in technology have lead to a newer and more efficient way of learning. The usage of these modern learning techniques are gaining popularity. Modern learning methods used by teachers in e-learning are educational websites, educational applications, learning games, ebooks and virtual teaching courses.Using these modern learning methods, students can ... Read More

Bell Numbers - Number of ways to Partition a Set in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:24:12

592 Views

A bell number is used to denote the number of ways a set of n elements can be partitioned into subsets that are not empty (i.e. have at least one element).In this program, we are given a set of n elements and we have to find the number of ways to ... Read More

Basic Operators in Shell Scripting

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:19:26

15K+ Views

Shell is an interface using which the programmer can execute command and interact directly to the operating system. Shell scripting is giving commands that a shell can execute.In shell also there are variables and operators that are used to manipulate these variables. There are 5 basic operators in shell scripting.Arithmetic ... Read More

Basic Operators in Relational Algebra

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:13:33

4K+ Views

Relational Algebra is a procedural query language, it is used to provide a single table / relation as output of performing operations on more than one relations. Some of the basic relations will be discussed here.In our course of learning, we will use three relations (table) −Table 1: courseCourse_idName1Computer science2Information ... Read More

Basic Graphic Programming in C++

sudhir sharma

sudhir sharma

Updated on 22-Nov-2019 07:06:43

17K+ Views

C++ programming language is a versatile programming language. Using C++ you can create low end graphics too i.e. creating basic shapes and words with stylish fonts and adding colors to them can be done using c++.Graphic programming can be done in c++ using your terminal or command prompt or you ... Read More

Advertisements