Skip to content
  • Home
  • Contact Us
  • About Us
  • Privacy Policy
  • DMCA
  • Linkedin
  • Pinterest
  • Facebook
thecscience

TheCScience

TheCScience is a blog that publishes daily tutorials and guides on engineering subjects and everything that related to computer science and technology

  • Home
  • Human values
  • Microprocessor
  • Digital communication
  • Networking
  • Toggle search form

Category: coding problems

HackerRank Java SHA-256 problem solution

In this HackerRank Java SHA-256 problem solution, you have given a string, s, print its SHA-256 hash value. HackerRank Java SHA-256 problem solution.

coding problems

HackerRank Java MD5 problem solution

In this HackerRank Java MD5 problem solution, you have given an alphanumeric string, s, denoting a password, compute and print its MD5 encryption value. HackerRank Java MD5 problem solution.

coding problems

HackerRank Java Lambda Expressions problem solution

In this HackerRank Java Lambda Expressions problem solution, you need to Write the following methods that return a lambda expression performing a specified action:  HackerRank Java Lambda Expressions problem solution.

coding problems

HackerRank Covariant Return Types in java problem solution

In this HackerRank Java Covariant Return Types problem solution, you will be given a partially completed code in the editor where the main method takes the name of a state (i.e., WestBengal, or AndhraPradesh) and prints the national flower of that state using the classes and methods written by you. HackerRank Covariant Return Types in…

Read More “HackerRank Covariant Return Types in java problem solution” »

coding problems

HackerRank Java Annotations problem solution

In this HackerRank Java Annotations problem solution, your task is to complete the FamilyBudget annotation and the FamilyMember class so that the Solution class works perfectly with the defined constraints. HackerRank Java Annotations problem solution.

coding problems

HackerRank Java Visitor Pattern problem solution

In this HackerRank Java Visitor Pattern problem solution, we need to implement three different functions getResult(), visitNode() and a visitLeaf(). also, we need to read the n-node tree, where each node is numbered from 1 to n. The tree is given as a list of node values and a list of node colors, and a…

Read More “HackerRank Java Visitor Pattern problem solution” »

coding problems

HackerRank Java Singleton Pattern problem solution

In this HackerRank Java Singleton Pattern problem solution, you need to complete the Singleton class in your editor which contains the following components: HackerRank Java Singleton Pattern problem solution.

coding problems

HackerRank Java Factory Pattern problem solution

In this HackerRank Java Factory Pattern problem solution, you are given an interface Food. There are two classes Pizza and Cake which implement the Food interface, and they both contain a method getType(). The main function in the Main class creates an instance of the FoodFactory class. The FoodFactory class contains a method getFood(String) that…

Read More “HackerRank Java Factory Pattern problem solution” »

coding problems

HackerRank Prime Checker in java problem solution

In this HackerRank Prime Checker problem in java problem solution, you are given a class Solution and its main method in the editor. Your task is to create a class Prime. The class Prime should contain a single method checkPrime. HackerRank Prime Checker in java problem solution.

coding problems

HackerRank Can You Access? in java problem solution

In this HackerRank Can You Access? in java problem solution you are given a class Solution and an inner class Inner.Private. The main method of class Solution takes an integer  as input. The powerof2 in class Inner.Private checks whether a number is a power of . You have to call the method powerof2 of the…

Read More “HackerRank Can You Access? in java problem solution” »

coding problems

HackerRank Java Reflection Attributes problem solution

In this HackerRank Java Reflection Attributes problem solution you will be given a class Solution in the editor. You have to fill in the incompleted lines so that it prints all the methods of another class called Student in alphabetical order. We will append your code with the Student class before running it. HackerRank Java…

Read More “HackerRank Java Reflection Attributes problem solution” »

coding problems

HackerRank Java Varargs Simple Addition problem solution

In this HackerRank Java Varargs – Simple Addition problem solution your task is to create the class Add and the required methods so that the code prints the sum of the numbers passed to the function add.  HackerRank Java Varargs – Simple Addition problem solution.

coding problems

Posts navigation

1 2 … 123 Next

Copyright © 2023 TheCScience.

Powered by PressBook Grid Blogs theme