Skip to content

Instantly share code, notes, and snippets.

View SajidHShanta's full-sized avatar
🧩

S. M. Sajid Hasan Shanta SajidHShanta

🧩
View GitHub Profile
@SajidHShanta
SajidHShanta / iOSBootcampAssignment1.swift
Created August 25, 2023 22:53
iOS Bootcamp Assignment1 solution
// Assignment 01
import UIKit
//MARK: - Question1
/*
Write a function that takes a String as parameter and returns nothing. The function calculates and prints the frequency of each character in the given string, that means, how many times each character came up in the given string.
Example input:
let string = "Hello"
Example Output: