• Home
  • Algorithms
  • Java
  • Hive
  • Learn Java
  • Hadoop
  • OrientDB
  • Database
  • Others
YouTube Twitter RSS
My IT Learnings
Posts related to computer science, algorithms, software development, databases etc
 
Skip to content
  • Home
  • Algorithms
  • Java
  • Hive
  • Learn Java
  • Hadoop
  • OrientDB
  • Database
  • Others
Posts tagged "algorithms"

Tag Archives: algorithms

Checking Collinearity of 3 points and their orientation

rajesh • August 19, 2016algorithms algorithms, collinear, line
0

Collinear points are those which lies on a single straight line. We have 3 points in the X-Y plane with their (x,y) coordinates given. To find out if the given 3 points are collinear, we will check the angle which the lines between each pair of points make with the X-axis.…

Continue reading

Depth First Search (DFS) for traversing a Graph

rajesh • May 6, 2016algorithms algorithms, dfs, graph, java
0

Depth First Search (DFS) is an algorithm for traversing a graph or a tree(any acyclic connected graph is a tree). We start at a starting node, traverse on a single path in the graph, backtrack when the path ends and again traverse non-visited paths while backtracking. DFS has the following…

Continue reading

Stack Implementation Using Array

rajesh • October 23, 2015algorithms algorithms, data structures, stack
0

Stack Basics In computer science, a stack is an abstract data type, which supports two main operations: push(Element e) and pop(). push(Element e) – Adds the element e at the top of the stack. pop() – removes the element at the top of the stack. All operations takes place at…

Continue reading

Binary Search – Different flavors

rajesh • October 3, 2015algorithms algorithms, binary search
0

Binary Search is used to find an element in a sorted array. Complexity of binary search algorithm is log(N), where N is size of the sorted array. At each step of Binary Search we keep on dividing the array into half and try to find the required element in one…

Continue reading

From a given graph, delete minimum number of edges such that there is no path from start node to end node.

rajesh • October 2, 2015algorithms algorithms, bfs, data structures, graph, java
0

Problem Statement :- From a given graph, delete minimum number of edges such that there is no path from start node to end node. Start node : node with minimum value End node : node with maximum value Input format : String array, each element in the array represents an…

Continue reading

  • YouTube Twitter RSS
  • Archives

    • August 2016 (3)
    • July 2016 (3)
    • May 2016 (3)
    • April 2016 (2)
    • March 2016 (30)
    • February 2016 (2)
    • January 2016 (5)
    • December 2015 (3)
    • November 2015 (4)
    • October 2015 (6)
  • Categories

    • algorithms (5)
    • bigdata (34)
    • computer science (3)
    • database (7)
    • eclipse (1)
    • hadoop (3)
    • java (8)
    • maven (1)
  • Tags

    algorithms ArrayList base64 bfs bigdata binary search BlockingQueue bucketing complex data type consumer create table database data structures data types eclipse encoding external graph hadoop hdfs hive IN operator insert java jdbc jsch load data maven metastore mysql oracle orc partitioning performance producer remote script select sequencefile sql sqlldr ssh ssh2 stack unicode update
  • Home
  • Algorithms
  • Java
  • Hive
  • Learn Java
  • Hadoop
  • OrientDB
  • Database
  • Others
Powered by Nirvana & WordPress.
YouTube Twitter RSS