Skip to content

Commit 5c06d02

Browse files
committed
3.2.36 Finished
1 parent 00f73e0 commit 5c06d02

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp3.0</TargetFramework>
6+
<RootNamespace>_3._2._36</RootNamespace>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="..\BinarySearchTree\BinarySearchTree.csproj" />
11+
</ItemGroup>
12+
13+
</Project>

3 Searching/3.2/3.2.36/Program.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System;
2+
using BinarySearchTree;
3+
4+
namespace _3._2._36
5+
{
6+
class Program
7+
{
8+
static void Main(string[] args)
9+
{
10+
var bst = new BSTNonRecursive<int, int>();
11+
bst.Put(10, 10);
12+
bst.Put(4, 4);
13+
bst.Put(12, 12);
14+
bst.Put(9, 9);
15+
bst.Put(3, 3);
16+
bst.Put(8, 8);
17+
18+
foreach (var key in bst.Keys(5, 11))
19+
{
20+
Console.Write(key + ", ");
21+
}
22+
}
23+
}
24+
}

Algorithms 4th Edition.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "3.2.34", "3 Searching\3.2\3
10251025
EndProject
10261026
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3.2.35", "3 Searching\3.2\3.2.35\3.2.35.csproj", "{97B6B0DD-EB46-45C3-A917-47D05783243C}"
10271027
EndProject
1028+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "3.2.36", "3 Searching\3.2\3.2.36\3.2.36.csproj", "{0F47B81D-DD65-4EEA-9414-AB575E96A382}"
1029+
EndProject
10281030
Global
10291031
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10301032
Debug|Any CPU = Debug|Any CPU
@@ -2811,6 +2813,10 @@ Global
28112813
{97B6B0DD-EB46-45C3-A917-47D05783243C}.Debug|Any CPU.Build.0 = Debug|Any CPU
28122814
{97B6B0DD-EB46-45C3-A917-47D05783243C}.Release|Any CPU.ActiveCfg = Release|Any CPU
28132815
{97B6B0DD-EB46-45C3-A917-47D05783243C}.Release|Any CPU.Build.0 = Release|Any CPU
2816+
{0F47B81D-DD65-4EEA-9414-AB575E96A382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2817+
{0F47B81D-DD65-4EEA-9414-AB575E96A382}.Debug|Any CPU.Build.0 = Debug|Any CPU
2818+
{0F47B81D-DD65-4EEA-9414-AB575E96A382}.Release|Any CPU.ActiveCfg = Release|Any CPU
2819+
{0F47B81D-DD65-4EEA-9414-AB575E96A382}.Release|Any CPU.Build.0 = Release|Any CPU
28142820
EndGlobalSection
28152821
GlobalSection(SolutionProperties) = preSolution
28162822
HideSolutionNode = FALSE
@@ -3319,6 +3325,7 @@ Global
33193325
{C44A238D-56F4-4316-954E-33D3FD73093C} = {136F3860-08E9-4C37-BC04-679085D442B4}
33203326
{E2CFD797-005D-41F2-AFCF-212FB5352432} = {136F3860-08E9-4C37-BC04-679085D442B4}
33213327
{97B6B0DD-EB46-45C3-A917-47D05783243C} = {136F3860-08E9-4C37-BC04-679085D442B4}
3328+
{0F47B81D-DD65-4EEA-9414-AB575E96A382} = {136F3860-08E9-4C37-BC04-679085D442B4}
33223329
EndGlobalSection
33233330
GlobalSection(ExtensibilityGlobals) = postSolution
33243331
SolutionGuid = {EE55CF8D-6F35-464D-B95B-ED85644AE41C}

0 commit comments

Comments
 (0)