Sep 20

When we talk about Blockchain how can we forgot smart contract. Let’s start with the smart contracts creation by using solidity.

For the smart contract we gonna use solidity and Remix IDE. Visit the following link to start.

https://remix.ethereum.org/

// SPDX-License-Identifier: MITpragma solidity 0.8.8;contract SimpleStorage{//boolen,uint, int, address…

--

--

Jun 3, 2021

func permute(strInput:String,l:Int,r:Int){var inputCharacter = Array(strInput)if ( l==r){print(strInput)}else{for var i in l..<r{// Swapping doneinputCharacter.swapAt(l, i);// Recursion calledpermute(strInput: String(inputCharacter), l: l+1, r: r);//backtrackinputCharacter.swapAt(l, i);}}}

This is how you can use this method:

let str = "ABC
permute(strInput: str, l…

--

--

Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger