Professional Documents
Culture Documents
Addendum
Addendum
The concept of lvalue is difficult to understand at given time line. See the comments given
below to understand it easily
Constant, array and class objects are not lvalue while different types of variables are lvalue.
int x;
Here variable x is lvalue. We can assign integer value to variable x just like
x = 10;
x is lvalue because we know the memory location of it. If we know the memory location
variable we can use it as lvalue. Actually x is label of a memory location.
Constant just 2 cannot be used as lvalue. The reason is we don’t know the memory location of
it.
Similarly array is also not lvalue. Array is collection of contiguous memory location.
int data[10] ;
Diagram of doubly link list in video lecture at given time line is not showing which one is
preNode and nextNode. For better understanding see the diagram given below for given time
line.
Head This is a doubly link list. The arrows pointing towards right
side are representing nextNode while those pointing towards
left side are representing prevNode.
prevNode
2 6 8 7 1
nextNode
Current
Lecture No. 4
During verbal explanation looking at diagrams of doubly and circular link will help to
understand the concept easily.
While listening the video lecture during given time line. See diagrams of doubly and circular
link list given at page number 41 in handouts.
Lecture No. 4
Diagram of Josephus Problem in video lecture is showing at given time line. Counting in this
diagram will clockwise as given in diagram below.
4
3
5
2
6
1
7
1
0 8
9
Lecture No. 5
At given time line see the diagrams given below. These diagrams will help you to understand
the concept easily.
Singly Link List
Head Current
2 6 8 7 0
Head
prevNode
2 6 8 7 1
nextNode
Current
Head Current
2 6 8 7 0
Lecture No. 7
At given time line Pseudo code and explanation of evaluating infix expression is given. During
this time line see the table given at page 66 of handouts. I will help you to understand the
concept and pseudo code easily.
Lecture No. 7
Verbal explanation of converting infix expression into postfix in given in mentioned time line.
During this verbal explanation and pseudo code see the table given below. It will help you easily
understand the procedure of conversion.
A A
+ A +
B AB +
* AB *
C ABC *
ABC* +
ABC*+
Lecture No. 12
The procedure of inserting a node into binary search tree is given at mentioned time line. To
understand given procedure easily look the code given below during explanation.
Lecture No. 15
During given time line the concept of level order traversal is explained. During this
explanation see the code given below to understand the concept easily.
Lecture No. 26
At given time line the concept of how receiver will decode the bits back into characters is
explained. Comments given below will help you to understand the concept easily.
First sender will send then encoded tree to receiver. So receive following tree and save it at its
end.
When receiver it will receive any character in the form of bits. Receiver will pass bits from
given tree and will reach at desired character. By following this procedure receiver will decode
all characters.
Lecture No. 34
At given time line see the matrix given at page 389 of handouts. This will help you to
understand the concept easily. The screen shot of that matrix is given below.