Given length l, width b and height h of a cuboid. Find the total surface area and volume of cuboid.
 
Example 1:
Input: l = 1, b = 2, h = 3
Output: 22 6
Explanation: Surface area = 2 * (2 * 3
+ 3 * 1 + 1 * 2) = 22 and volume = 
1 * 2 * 3 = 6
Example 2:
Input: l = 2, b = 3, h = 5
Output: 62 30
Explanation: Surface area = 2 * (3 * 5
+ 5 * 2 + 2 * 3) = 62 and volume = 
2 * 3 * 5 = 30
 
Your Task:
You don't need to read or print anything. Your task is to complete the function find() which takes l, b and h as input parameter and returns a list containing the value of surface area and volume.
 
Expected Time Complexity: O(1)
Expected Space Complexity: O(1)
 
Costraints:
1 <= l, b, h <= 10^{6}

Source: geeksforgeeks | Difficulty: EASY
Tags: Mathematics

Starter code: #User function Template for python3

class Solution:
	def find(self, l, b, h):
		# Code here

Solutions:
class Solution:

	def find(self, l, b, h):
		v = l * b * h
		A = 2 * (l * b + b * h + h * l)
		return (A, v)


class Solution:

	def find(self, l, b, h):
		return (2 * (l * b + l * h + b * h), l * b * h)


class Solution:

	def find(self, l, b, h):
		area = 2 * (l * b + b * h + h * l)
		volume = l * b * h
		return [area, volume]


class Solution:

	def find(self, l, b, h):
		res = []
		sa = 2 * (l * b + b * h + l * h)
		v = l * b * h
		res.append(sa)
		res.append(v)
		return res


class Solution:

	def find(self, l, b, h):
		tsa = 2 * (l * b + b * h + h * l)
		vol = l * b * h
		return (tsa, vol)


class Solution:

	def find(self, l, b, h):
		area = 2 * (l * b + b * h + h * l)
		vol = l * b * h
		return (area, vol)


class Solution:

	def find(self, l, b, h):
		surf_a = 2 * (l * b + b * h + h * l)
		area = l * b * h
		return (surf_a, area)


class Solution:

	def find(self, l, b, h):
		a = 2 * (l * b + b * h + h * l)
		v = l * b * h
		return [a, v]


class Solution:

	def find(self, l, b, h):
		t = 2 * (l * b + b * h + h * l)
		v = l * b * h
		return (t, v)


class Solution:

	def find(self, l, b, h):
		ans = 2 * (b * h + l * h + l * b)
		ans1 = l * b * h
		return (ans, ans1)


class Solution:

	def find(self, l, b, h):
		surface_area = 2 * (l * b + b * h + h * l)
		volume = l * b * h
		return (surface_area, volume)


class Solution:

	def find(self, l, b, h):
		SA = 2 * (l * b + b * h + l * h)
		volume = l * b * h
		return (SA, volume)


class Solution:

	def find(self, l, b, h):
		sarface_area = 2 * (b * h + h * l + l * b)
		volume = l * b * h
		return (sarface_area, volume)


class Solution:

	def find(self, l, b, h):
		sa = 2 * (l * b + b * h + h * l)
		vol = l * b * h
		return [sa, vol]


class Solution:

	def find(self, l, b, h):
		SA = 2 * (l * b + l * h + h * b)
		V = l * b * h
		return (SA, V)


class Solution:

	def find(self, l, b, h):
		s = 2 * (b * h + h * l + l * b)
		v = l * b * h
		return (s, v)


class Solution:

	def find(self, l, b, h):
		volume = l * b * h
		tsa = 2 * (l * b + b * h + l * h)
		return (tsa, volume)


class Solution:

	def find(self, l, b, h):
		arr = [0] * 2
		arr[0] = 2 * (l * b + b * h + h * l)
		arr[1] = l * b * h
		return arr


class Solution:

	def find(self, l, b, h):
		X = int(2 * (b * h + h * l + l * b))
		Y = int(l * b * h)
		return (X, Y)


class Solution:

	def find(self, l, w, h):
		a = 2 * (w * h + l * h + w * l)
		b = l * w * h
		return (a, b)


class Solution:

	def find(self, l, b, h):
		sA = 2 * (l * b + b * h + h * l)
		v = l * b * h
		return (sA, v)


import math

class Solution:

	def find(self, l, b, h):
		return (math.trunc(2 * (l * b + b * h + l * h)), l * b * h)


class Solution:

	def find(self, l, b, h):
		arr = list()
		arr.append(2 * (l * b + b * h + h * l))
		arr.append(l * b * h)
		return arr


class Solution:

	def find(self, l, b, h):
		surface_Area = l * b + b * h + h * l
		vol = l * b * h
		return (2 * surface_Area, vol)


class Solution:

	def find(self, l, b, h):
		sa = 2 * l * b + 2 * l * h + 2 * h * b
		c = l * b * h
		return (sa, c)