Skip to content
Programming is like sex. One mistake and you have to support it for the rest of your life.
FcukTheCode

Sum of all Digits in Java …FTC

  • Post category:Java
  • Post comments:0 Comments

You're given an integer N. Write a program to calculate the sum of all the digits of N. InputThe input integer…

Continue ReadingSum of all Digits in Java …FTC

Find the Area of a pentagon in Java …fcukthecode.com

  • Post category:Java
  • Post comments:0 Comments

Write a program that prompts the user to enter the length from the center of a pentagon to a vertex and…

Continue ReadingFind the Area of a pentagon in Java …fcukthecode.com

 Get input using Scanner Java… FTC

  • Post category:Java
  • Post comments:0 Comments

Write a Java program to allow the user to input his/her age. Then the program will show if the person is…

Continue Reading Get input using Scanner Java… FTC

Distance of two points (x, y) in Java ..fcukthecode

  • Post category:Java
  • Post comments:0 Comments

Write a program that prompts the user to enter two points (x1, y1) and (x2, y2) and displays their distance between…

Continue ReadingDistance of two points (x, y) in Java ..fcukthecode

fgrep and egrep in Linux Finding patterns in Files… FTC

  • Post category:Linux
  • Post comments:0 Comments

fgrep The fgrep command is similar to grep, but with three main differences: You can use it to search for several…

Continue Readingfgrep and egrep in Linux Finding patterns in Files… FTC

Detecting a cycle in a directed graph using Depth First Traversal …FTC

  • Post category:Algorithms/C++
  • Post comments:0 Comments

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory…

Continue ReadingDetecting a cycle in a directed graph using Depth First Traversal …FTC

Topological Sort in Graph …FTC

  • Post category:Algorithms
  • Post comments:0 Comments

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory…

Continue ReadingTopological Sort in Graph …FTC

Storing Graphs (Adjacency List) …fcukthecode

  • Post category:Algorithms
  • Post comments:0 Comments

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory…

Continue ReadingStoring Graphs (Adjacency List) …fcukthecode

Introduction To Graph Theory …FTC

  • Post category:Algorithms
  • Post comments:0 Comments

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. Did you know,…

Continue ReadingIntroduction To Graph Theory …FTC

Represent Graph Adjacency Matrix using Java …fcukthecode

  • Post category:Java
  • Post comments:0 Comments

Storing Graphs (Adjacency Matrix)Adjacency Matrix (Storing Graphs) …-fcukthecode 👈 👈 ;)To store a graph, two methods are common:Adjacency MatrixAdjacency List PSEUDO-CODE…

Continue ReadingRepresent Graph Adjacency Matrix using Java …fcukthecode

Adjacency Matrix (Storing Graphs) …-fcukthecode

  • Post category:Algorithms
  • Post comments:0 Comments

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory…

Continue ReadingAdjacency Matrix (Storing Graphs) …-fcukthecode

Dijkstra’s Shortest Path Algorithm …fcukthecode

  • Post category:Algorithms
  • Post comments:0 Comments

Before proceeding, it is recommended to have a brief idea about Adjacency Matrix and BFS. Breadth-first-search (BFS) is an algorithm for…

Continue ReadingDijkstra’s Shortest Path Algorithm …fcukthecode

Breadth-First Search …-fcukthecode

  • Post category:Algorithms
  • Post comments:0 Comments

Finding the Shortest Path from Source to other Nodes Breadth-first-search (BFS) is an algorithm for traversing or searching tree or graph…

Continue ReadingBreadth-First Search …-fcukthecode

Finding the multiple in Python …FTC

  • Post category:Python
  • Post comments:0 Comments

Find the multiple of given number in the list of integers. Input:First Line of the Input is the Number of Elements…

Continue ReadingFinding the multiple in Python …FTC

Finding Patterns in Files using grep ….fcukthecode

  • Post category:Linux
  • Post comments:0 Comments

Among the most commonly used tools in the UNIX System are those for finding words in files, especially grep, fgrep, and…

Continue ReadingFinding Patterns in Files using grep ….fcukthecode

OS Module (os.path) Python-fcukthecode

  • Post category:Python
  • Post comments:0 Comments

This module implements some useful functions on pathnames. The path parameters can be passed as either strings, or bytes. Applications are…

Continue ReadingOS Module (os.path) Python-fcukthecode

 Find the sequence of given integers in Python…fcukthecode.com

  • Post category:Python
  • Post comments:0 Comments

Sort the given set of integers using bubble sort and find the smallest and largest among given set of integers. Get the…

Continue Reading Find the sequence of given integers in Python…fcukthecode.com

Finding the occurrence of an integer [Python] … fcukthecode

  • Post category:Python
  • Post comments:0 Comments

Find the given integer in the given list of integers and print the number of occurrences of that integer in the…

Continue ReadingFinding the occurrence of an integer [Python] … fcukthecode

Algorithm Complexity Big O Notation (With Examples) …FcukTheCode

  • Post category:Algorithms
  • Post comments:0 Comments

For Big-Theta Notations and Big-Omega Notations, On another page 👇 👇Algorithm Complexity(Big-Theta, Big-Omega, Big-O Notations)  👈 👈 :) :) DefinitionThe Big-O…

Continue ReadingAlgorithm Complexity Big O Notation (With Examples) …FcukTheCode

Algorithm Complexity(Big-Theta, Big-Omega, Big-O Notations) …Fcukthecode

  • Post category:Algorithms
  • Post comments:0 Comments

For Big O Notation, On Another Page 👉 👉 Big O Notation (With Examples) :) Unlike Big-O notation, which represents only…

Continue ReadingAlgorithm Complexity(Big-Theta, Big-Omega, Big-O Notations) …Fcukthecode
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 18
  • Go to the next page
Copyright - OceanWP Theme by OceanWP