This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace testingcode | |
{ | |
public class StackBasedOnDynamicArray<T> | |
{ | |
private T[] backingStorage; | |
private int size; | |
//Pointer to keep track of element at the top of the stack | |
private int top; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using AlgoPractise; | |
namespace testingcode | |
{ | |
public class LinkedListProblems | |
{ | |
public Node TestList { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection.Emit; | |
using System.Text; | |
namespace AlgoPractise | |
{ | |
public class NodeDouble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection.Emit; | |
using System.Text; | |
using System.Threading; | |
namespace AlgoPractise | |
{ | |
public class Node | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace testingcode | |
{ | |
public class TowerOfHanoiPuzzle | |
{ | |
public int NumberOfdiscs { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var obj = new Child(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#can't convert Symbol into Integer (Line 9 | |
<div class="row text-center"> | |
<div class="col-md-3 sidebar"> | |
<%= form_for(@filter, products_path) do |f| %> | |
<%= f.text_field :books %><br /> | |
<div class="actions"> | |
<%= f.submit "Submit", class: "button small radius" %> |