Yahoo India Web Search

Search results

  1. In this post, we will solve 3D Surface Area HackerRank Solution. This problem (3D Surface Area) is a part of HackerRank Problem Solving series.

  2. Jan 17, 2021 · Explanation 1. The sample input corresponds to the figure described in problem statement. TABLE OF CONTENTS. 3D Surface Area HackerRank Solution in C++. 3D Surface Area HackerRank Solution in Java. 3D Surface Area HackerRank Solution in Python. 3D Surface Area HackerRank Solution in C# #include <math.h> #include <stdio.h> #include <string.h>

  3. Oct 1, 2020 · static int surfaceArea(int[][] A) { int area = 2*(A.length -2)*(A[0].length -2) ; for(int i = 1 ;i <= A.length -2 ; i++){ for(int j = 1; j<= A[i].length -2 ; j++){ area += Math.max(0,A[i][j] - A[i-1][j]); area += Math.max(0,A[i][j] - A[i][j-1]); area += Math.max(0,A[i][j] - A[i+1][j]); area += Math.max(0,A[i][j] - A[i][j+1]); } } return area ...

  4. We would like to show you a description here but the site won’t allow us.

  5. www.hackerrank.com › challenges › 3d-surface-area3D Surface Area | HackerRank

    Explanation 1. The object is rotated so the front row matches column 1 of the input, heights 1, 2, and 1. The front face is 1 + 2 + 1 = 4 units in area. The top is 3 units. The sides are 4 units. None of the rear faces are exposed.

  6. ⭐️ Content Description ⭐️In this video, I have explained on how to solve 3d surface area problem using simple math logic in python. This hackerrank problem i...

  7. Jul 4, 2020 · In this video, I have solved hackerrank 3D Surface Area problem in an easy way. The complexity of 3D Surface Area hackerrank solution is O (N). This hackerrank problem is a...

  8. HackerRank 3D Surface Area problem solution. Contribute to Aniket-Maity/3D-Surface-Area development by creating an account on GitHub.

  9. May 28, 2018 · If the 3d surface made of same-sided cubes then it becomes easy to calculate 3d surface. We have to look at the 3D surface from the top view, that way we can have a 2D surface with height values of each cell.

  10. Oct 31, 2020 · Challenge: https://www.hackerrank.com/challenges... Solution: :58 Solution Code: https://gist.github.com/Shaddyjr/78e6... As a way to improve my coding skills and technical interview...

  1. People also search for