allaboutasp.net
Array | All About ASP.NET
http://allaboutasp.net/category/array
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ Array. Write a Program to Create a Two Dimensional Array From a Text File. Written by Ajay Pathak. Posted August 29, 2013 at 7:58 pm. Today we will write a program for creating a two dimensional Array from a input file. Calculate the row and column count. Read File line by line, split line by given delimiter and create two dimensional array. FileNotFoundException( "Input file is not present ". Read All line from file. 11,12,13,14,15.
allaboutasp.net
Iterative Method for Finding Height Of Tree | All About ASP.NET
http://allaboutasp.net/2013/08/iterative-method-for-finding-height-of-tree
All About ASP.NET. C#, Algorithms, Interview Questions. Iterative Method for Finding Height Of Tree. Written by Ajay Pathak. Posted August 12, 2013 at 8:51 pm. For finding the height of the tree we can use level order traversal of three. We need to traverse the tree level by level and increment the height count. Height = 0;. Nodes = 0;. Queue TreeNode queue = new. Queue TreeNode ();. Nodes = queue.Count();. Height = height 1;. Var temp = queue.Dequeue();. Nodes = nodes - 1;.
allaboutasp.net
Write a Program for Swapping Every Second Element of LinkList | All About ASP.NET
http://allaboutasp.net/2013/09/write-a-program-for-swapping-every-second-element-of-linklist
All About ASP.NET. C#, Algorithms, Interview Questions. Write a Program for Swapping Every Second Element of LinkList. Written by Ajay Pathak. Posted September 10, 2013 at 12:06 am. Input : 0- 1- 2- 3- 4- 5- 6- 7- 8- 9-. Output: 1- 0- 3- 2- 5- 4- 7- 6- 9- 8-. SwapEverySecondElement() { var p = head; var q = p.Next; while. Var temp = p.Data; p.Data = q.Data; q.Data = temp; p = q.Next; if. Q = pNext; } else. 0- 1- 2- 3- 4- 5- 6- 7- 8- 9-. 1- 0- 3- 2- 5- 4- 7- 6- 9- 8-. Feed for comments on this post.
allaboutasp.net
String | All About ASP.NET
http://allaboutasp.net/category/string
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ String. Write a Program to Print String in Triangular Format. Written by Ajay Pathak. Posted September 2, 2013 at 2:55 am. Today we will write a program for printing a given string’s in triangle. Length = input.Length; for. I = 0; i length; i ) { for. SpaceCounter =0; spaceCounter =length-i; spaceCounter ) { Console.Write(. CharCounter = 0; charCounter =i; charCounter ) { Console.Write(input[charCounter]); Console.Write(. 160; ...
allaboutasp.net
LinkList | All About ASP.NET
http://allaboutasp.net/category/linklist
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ LinkList. Write A Program To Reverse a Doubly Linked List. Written by Ajay Pathak. Posted September 14, 2013 at 9:31 pm. Source : http:/ en.wikipedia.org/wiki/Doubly-linked list. DoubleNode T Reverse() { DoubleNode T newHead = null. DoubleNode T temp = head; head = head.Next; temp.Next = newHead; newHead = temp; } return. Write a Program for Swapping Every Second Element of LinkList. Written by Ajay Pathak. Q = pNext; } else. Slow ...
allaboutasp.net
Write A Program To Reverse a Doubly Linked List | All About ASP.NET
http://allaboutasp.net/2013/09/write-a-program-to-reverse-a-doubly-linked-list
All About ASP.NET. C#, Algorithms, Interview Questions. Write A Program To Reverse a Doubly Linked List. Written by Ajay Pathak. Posted September 14, 2013 at 9:31 pm. Source : http:/ en.wikipedia.org/wiki/Doubly-linked list. DoubleNode T Reverse() { DoubleNode T newHead = null. DoubleNode T temp = head; head = head.Next; temp.Next = newHead; newHead = temp; } return. Feed for comments on this post. Comment moderation is enabled. Your comment may take some time to appear. Complete your network inventory.
allaboutasp.net
Tree | All About ASP.NET
http://allaboutasp.net/category/tree
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ Tree. Iterative Method for Finding Height Of Tree. Written by Ajay Pathak. Posted August 12, 2013 at 8:51 pm. For finding the height of the tree we can use level order traversal of three. We need to traverse the tree level by level and increment the height count. Height = 0;. Nodes = 0;. Queue TreeNode queue = new. Queue TreeNode ();. Nodes = queue.Count();. Height = height 1;. Var temp = queue.Dequeue();. Nodes = nodes - 1;.
allaboutasp.net
Tips | All About ASP.NET
http://allaboutasp.net/category/tips
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ Tips. Designing XAML without the XAML designer. Written by Ajay Pathak. Posted May 28, 2014 at 6:28 pm. XAML designer is a very a powerful tool for designing XAML files in Visual Studio however it comes with a cost. If you are not using XAML designer, so you can disable XAML designer to Save your computer resources. Steps to Disable XAML Designer in Visual Studio. Complete your network inventory.
allaboutasp.net
SQL Server | All About ASP.NET
http://allaboutasp.net/category/sql-server
All About ASP.NET. C#, Algorithms, Interview Questions. Archive for the ‘ SQL Server. Get List of Tables Present in SQL Server Database. Written by Ajay Pathak. Posted September 18, 2013 at 1:32 am. Today I have to get a list of all tables present in database. I used following query to get the list of all tables present in SQL Server Database. INFORMATION SCHEMA.TABLES WHERE. TABLE TYPE = 'BASE TABLE'. Filed under: SQL Server. Expert SQL Server 2008 Development. Written by Ajay Pathak. Recently i started...
allaboutasp.net
Find Maximum Occurrence of a Character in a Given String | All About ASP.NET
http://allaboutasp.net/2013/08/find-maximum-occurrence-of-a-character-in-a-given-string
All About ASP.NET. C#, Algorithms, Interview Questions. Find Maximum Occurrence of a Character in a Given String. Written by Ajay Pathak. Posted August 28, 2013 at 5:24 am. 160; . 160; {. 160; . 160; . Length = input.Length;. 160; . I = 0; i length; i ). 160; {. 160; . 160; {. 160; charDict[input[i] ;. 160; }. 160; . 160; }. Max = charDict.Values.Max();. Write A Program To Rev...
SOCIAL ENGAGEMENT