• coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - how to create a graph and store in memory (representation of graphs) - 3 representation of graphs(edgeList, adjacent matrix, adjacent list) - deeper dive into representation of graphs using edgelist #100DaysOfCode #Java #DSA

    1 1 0 91 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    simple implementation of representation of graphs using edgeList - edge class. integers u, v, wt to represent names of a single edge object and constructor to instantiate them with params - and a toString method to return a string representation of object #100DaysOfCode #DSA

    coding_robin tweet picture

    1 1 0 95 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    edgeList class - number of vertices, list of objects of type 'edge' - constructor to instantiate list and assign vertices to params - method to add edge object to list - toString method to print string representation of object - runner class cool #100DaysOfCode #Java #DSA

    coding_robin tweet picture
    coding_robin tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    1 1 0 91 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day48 - representation of a graph using ADJACENT MATRIX (deep dive) - concept - advantages and drawbacks - implementation using java #100DaysOfCde #Java #DSA

    1 1 0 81 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - implementation of graph using ADJACENT MATRIX in java - V represents dimension of matrix table - 2d Boolean array to represent matrix. all element are false by default - addEdge method accepts int u, v and basically ticks true to denote connection #100DaysOfCode #Java #DSA

    coding_robin tweet picture
    coding_robin tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    1 0 0 94 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day49 - representation of a graph using ADJACENT LIST (deep dive) - concept - advantages and drawbacks - implementation using java

    1 1 0 75 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    implementation of graph using ADJACENT MATRIX - data field V and array of integers with identifier adjList - iterate over all element in array and instantiate as linkedlist objects - addEdge method to add connected node as neighbours on linkedlist #100daysOfCode #Java #DSA

    coding_robin tweet picture
    coding_robin tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    1 1 0 87 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day50 of #100DaysOfCode, do I get balloons or what? - briefly covered implicit graph (another representation of graph ds) - continued with graph traversal techniques(searching a graph...) - 2 main ways of graph traversal(breadthFirst and depthFirst) #100DaysOfCode #Java #DSA

    2 1 1 131 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - deep dive on breadth first traversal/search(BFS) - applications of BFS - implementation of BFS (theory) - usage/application of concept of queue DS in the implementation of BFS #100DaysOfCode #Java #DSA

    1 1 0 58 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day51 of #100DaysOfCode implementation of BFS in java - 2 data structures; boolean array with size of nodes and linkedlist(as queue) - start from source, add to queue, mark as visited - as long as queue isnt empty, take out frontMost node and #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 61 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    and print - check if current frontMost node has a 'next' element inside its adjacentList array, if yes, store reference, mark as true and push inside queue - repeat process all over again till all vertices has been visited and printed intuitive #day51 of #100DaysOfCode

    1 1 0 51 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    BFS but code refactored to track distance of every node from source - added a distance array with size of Vertices - distance of source set to zero - distance of each node from source is basically distance of parent node from source plus 1. #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    2 1 1 57 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day52 of #100daysOfCode worked on an exercise - application of BFS to find the shortest path to destination (minimum number of moves to win the game) in a snake and ladder board game - problem statement analysis/determining if it is a graph problem #100daysOfCode #Java #DSA

    1 1 0 45 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - is graph weighted or directed, can a BFS run on it? - taking inputs ( no of Vertices/nodes, no of snakes, no of ladders, position of snakes, position of ladder, no of edges ) and constructing a graph from those inputs (adjacency list representation ) #100daysOfCode #Java #DSA

    1 1 0 42 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - enter inputs(Vertices, source, destination, boardArray) - snake (no of snake, head and tail positions of each snake, update boardPosition (deduction) - Ladder (no of ladders, top and bottom positions of each ladder, update boardPosition (addition) ) #100DaysOfCode #Java #DSA

    coding_robin tweet picture
    coding_robin tweet picture
    coding_robin tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    1 1 0 50 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - instantiate graph object and add edge by - iterate over all vertices from source(1) to destination, for every dice throw, update node position plus value of position of board ( snake/subtraction or ladder/addition ) #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 1 57 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    BFS tweaked for snake and ladder board game - takes source and destination as arguments - added parents array to keep track of path to destination #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 52 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    backtracking function to print path to destination - as long as the parent of destination isnt -1,keep reassigning temp to prev parent and print - BFS returns integer of number of distance to destination. #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 51 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day53 of #100DaysOfCode - started with intro to depth first traversal(DFS) on graphs - its recursive, similar to preOrder tree traversal technique - different application of DFS - implementation of DFS (theoretical) #100DaysOfCode #Java #DSA

    1 1 0 49 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    implementation of DFS (assuming one component in graph) - accepts source as entry point, mark visited - iterate over adjcencyList of source, store ref of nextNode, if nextNode not visited, make recursive call and pass nextNode as current - repeat #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 58 1
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day54 of #100DaysOfCode still on graph ds - cycle detection on graphs (general overview) - conditions to determine a circle in graph - back edge - white board explanation of an example of a cycle detection algorithm in graphs #100DaysOfCode #DSA #Java

    1 1 0 68 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    implementation of cycle detection algorithm in an undirected graph -mark src, store ref of nextEl, if nextEl is not visited, recursively call function and store response - if nexEl is visited, check for backedge(true for cycle detection else, false) #100DaysOfCode #DSA #Java

    coding_robin tweet picture

    1 1 0 76 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day59 of #100DaysOfCode, finally back on graph DSA treated; - cycle detection on a directed graph - problems with using the previous undirected cycle detection algorithm on a directed graph - detecting a back edge in a directed graph #100DaysOfCode #DSA #Java

    1 1 0 45 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day60 covered; - Introduction to FLOOD FILL ALGORITHM - understanding it's usage as paint bucket tool in design tools like photoshop - understanding the problem statement of the algorithm - implementation of algorithm using the concept of graph #100DaysOfCode #Java #DSA

    1 0 0 46 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    implementation of flood fill algorithm using DFS(recursively) - if outside image grid, or not currentColor(to be changed) or already the color(visited), return. - change to newColor from position passed in - recursively call function on cell neigbors and change colors too

    coding_robin tweet picture

    1 0 0 35 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    runner class - 2d array passed into dfs function as image - int x,y passed in as position of cell where color change start from - current color( to be changed) - new color(to change to) - for loop to print transformed array(with new color) cool #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 0 0 41 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day61 of #100DaysOfCodechallenge implementation of flood fill algorithm using BFS(iterative approach) - Pair class to create pair object to denote position/coordinates in 2d image array - object to be inserted into queue to implement floodfill BFS #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 0 0 35 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    actual floodfill bfs function - push pair obj into queue, mark visited - go inside queue, remove frontmost pair and paint new color - iterate over neigbors of removed pair, if they meet conditions, push inside queue, mark visited, paint - till queue becomes empty #Java #DSA

    coding_robin tweet picture

    1 1 0 52 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    runner class floodFill BFS - image array - postions/coordinates to start painting - current color, new color to paint to - floodFillBFS method call with required arguments - for loop to print transformed array/result sweet #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 0 0 41 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day62 of #100DaysOfCodechallenge - Topological Sorting(TP) in Graphs - understanding Directed Acyclic Graphs(DAG) - need for TP - main application and other numerous applications of TP - algorithmic approaches to TP (DFS & BFS/khan's approach) #100DaysOfCode #Java #DSA

    1 0 0 40 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day63 of #100DaysOfCodechallenge covered; implementation of topological sort using DFS approach in java - iterate over all vertices, if not visited, call topologicalSort helper/recursive function, pass node as argument - helper function marks #100DaysOfCode #DSA #Java

    coding_robin tweet picture
    coding_robin tweet picture
    keyboard_arrow_left Previous keyboard_arrow_right Next

    1 1 0 38 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    node as visited, iterate over node's neighbours recursively till last neighbour, then exit the loop, add last neighbour to output list. - repeat till all element visited and added to output list - reverse list and print fairly easy #100DaysOfCode #DS #Java

    1 0 0 23 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day64 of #100DaysOfCodechallenge implementation of Topological Sort using Khan/BFS approach - create indegree array - push element with 0 indegree (resolved/zero dependencies) into queue - perform BFS (track output) yea basically the 3 main steps #100DaysOfCode #DSA #Java

    coding_robin tweet picture

    1 1 0 46 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day65 of #100DaysOfCodechallenge still on graph dsa, got introduced to - The Traveling Salesman Problem in graphs - understanding the problem statement of TSP - Hamiltonian Cycle and Hamiltonian Path (illustrations and difference between the two) #100DaysOfCode #Java #DSA

    1 1 0 35 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    - relations between TSP and Hamilton Cycle - introduction to the 'concept' of Brute force Algorithm and its relation to TSP #100DaysOfCode #Java #DSA

    1 1 0 29 0
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    #day66 of #100dayofcodechallenge Implementation of Traveling Salesman Problem using the Brute Force(recursive) approach in java - recursively calculate the cost of distance/journey of each node to source, compare each cost and return minimum tricky #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 43 0
    Download Image
  • coding_robin Profile Picture

    coding robin @coding_robin

    a year ago

    runner class - takes 2d adjacency matrix array(best suited representation of a complete graph), visited Boolean array, currentNode, currentCount, numberOfNodes(visited cities) #100DaysOfCode #Java #DSA

    coding_robin tweet picture

    1 1 0 37 0
    Download Image
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro