You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,30 +24,30 @@ A singly connected list of integer values is used to represent the set. OOP is n
24
24
25
25
<aname="l11"></a>
26
26
### Creating an empty set - `Node* creatingAnEmptySet()`
27
-
*Input parameters:* None.
28
-
*Output parameters:* a pointer to the first element of the list, equal to NULL.
27
+
*Input parameters:* None. <br>
28
+
*Output parameters:* a pointer to the first element of the list, equal to NULL.<br>
29
29
<aname="l12"></a>
30
30
### Checking for an empty set - `bool emptySet(Node* first)`
31
-
*Input parameters:* a pointer to the first item in the list.
32
-
*Output parameters:* Boolean value.
31
+
*Input parameters:* a pointer to the first item in the list.<br>
32
+
*Output parameters:* Boolean value.<br>
33
33
<aname="l13"></a>
34
34
### Checking whether an element belongs to a set - `bool checkingOfExistence(Node* first, int checking_value)`
35
-
*Input parameters:* a pointer to the first element of the list, the value of the element.
36
-
*Output parameters:* Boolean value.
35
+
*Input parameters:* a pointer to the first element of the list, the value of the element.<br>
36
+
*Output parameters:* Boolean value.<br>
37
37
<aname="l14"></a>
38
38
### Adding a new element to the set - `Node* add(Node*& first, int adding_value)`
39
-
*Input parameters:* a pointer to the first element of the list, a value to be added to the list.
40
-
*Output parameters:* a pointer to the first element of the result list.
41
-
*Restriction:* Adding an item to the top of the list.
39
+
*Input parameters:* a pointer to the first element of the list, a value to be added to the list. <br>
40
+
*Output parameters:* a pointer to the first element of the result list.<br>
41
+
*Restriction:* Adding an item to the top of the list.<br>
42
42
<aname="l15"></a>
43
43
### The power of the set - `int powerOfTheSet (Node* first)`
44
-
*Input parameters:* a pointer to the first item in the list.
45
-
*Output parameters:* integer value.
44
+
*Input parameters:* a pointer to the first item in the list. <br>
45
+
*Output parameters:* integer value.<br>
46
46
<aname="l16"></a>
47
47
### Creating a set - `Node* creatingSet(int quantity, int min, int max, int k)`
48
-
*Input parameters:* the number of elements, the range of acceptable values (from min to max). k is the multiplicity coefficient for checking the satisfaction of the condition.
49
-
*Output parameters:* a pointer to the first element of the result list. Generation of values by a random number sensor.
50
-
*Requirement:* check the possibility of creating a set with the specified parameters.
48
+
*Input parameters:* the number of elements, the range of acceptable values (from min to max). k is the multiplicity coefficient for checking the satisfaction of the condition.<br>
49
+
*Output parameters:* a pointer to the first element of the result list. Generation of values by a random number sensor. <br>
50
+
*Requirement:* check the possibility of creating a set with the specified parameters.<br>
51
51
<aname="l17"></a>
52
52
### Output of elements of the set - `string printSet(Node* first, string separator)`
53
53
*Input parameters:* a pointer to the first element of the list, a separator character. <br>
0 commit comments