ios problem solving Program swift Swift Pattern printing: Print rectangle Shaunak Jagtap 11:13 Add Comment Shaunak Jagtap Print rectangle of n character //This is for single string func frameGenrator (n: Int ) -> String { var result = ... Read More
ios swift Learn Binary Search In Swift Shaunak Jagtap 11:50 Add Comment Shaunak Jagtap //BINARY SEARCH// /* * Complexity: O(Log n) * When to use binary search? * it can be applied on sorted array. * it is better than ... Read More
javascript problem solving Discovering the Longest Consecutive Sequence in Swift Shaunak Jagtap 00:57 1 Comment Shaunak Jagtap Longest Consecutive Have the function LongestConsecutive(arr) take the array of positive integers stored in arr and return the length... Read More