Posts

Showing posts from 2019

Welcome to Flutter

Image
Flutter: Flutter is google's mobile app SDK for crafting high quality native experience on Android & IOS. Flutter works with existing code, is used by developers and organizations around the world, It's free and open source. Why did flutter choose to use Dart? Developer productivity. Object oriented. Predictable, high performance. Fast allocation Flutter Doctor for view updated version for showing updated android SDK for showing connected devices Introduction to Dart: Dart is a general purpose programming language originally developed by google. It is used to build web, server, desktop and mobile application. Dart is object oriented, class defined, garbage collected language. Using a c-style syntax that trans-compiles optionally into javascript. It's supports interfaces, mixins, abstract classes, reified generics, static typing and sound type system.

Generate the Non Repeated Characters of String

Another one.. But Interesting.. Question: To Generate the non-repeated characters of String. Given two integers X and Y, returns containing exactly X letters "A" and exactly B letters "b". X defines maximum of character repetition. Input : Example: NonRepeatString(2,5,3); Output : AAbAAbAb Get the source code from GitHub

To Find the next Fibonacci Number of given numbers.

Image
Fibonacci ... What's that?? Still most of interviewers favorite topic is from fibonacci series.. Formula :  Now the Question is Write a function that takes an array of integers as input. For each integer, output the next fibonacci number. Solution that work both cpu and memory efficient are appreciated. For example: nextFibonacci([1,22,9]) Output: 2 34 13 Answer : Get it from Github Gist If anybody knows some better solution these, please comment in this post.

Check of Subset of Array is Equals or Not.

Hi everyone, Have a great day. Again after long days, I post some interview question. Check below. If you've some best solution this, then you can comment on the post. Question: Write a function that takes two arrays as input, each array contains a list of A-Z; Your program should return True if the 2nd array is a subset of 1st array, or False if not. For example: isSubset([A,B,C,D,E], [A,E,D]) = true isSubset([A,B,C,D,E], [A,D,Z]) = false isSubset([A,D,E], [A,A,D,E]) = true Answer : See my Github Gist .

Shopping List Application Using Firebase.

Hi friends, Have a great day. Today I just upload the sample shopping list application using firebase. You can view and download it from the Github . Now most of developers start using firebase, It's very easy and very comfortable. Try it yourself. It's have a lots of features.

KOTLIN - It's just beginning.

Wish you happy new year 2019 to everyone. Yeah It's new beginning. Let's do fresh start with Kotlin. Kotlin introduced by Jetbrains, the offical designer of the most intelligent Java IDE named Intellij IDEA. In 2017, Google announced Kotlin is an offical language that runs on JVM. Why Kotlin? Kotlin is an open source programming language that combines object oriented programming and functional features into a unique platform. Kotlin is 100% inter-operable with java. Kotlin compiles to JVM bytecode or Javascript. Kotlin costs nothing to adopt. It imposes to runtime overhead. Features: Kotlin is null safety. It's lean syntax. Exceptions are unchecked. Functional Programming Distinguishes between mutable and immutable views over collections. Have an operator overloading. Extension functions let you add methods to class without modifying their source code. Delegation can be done automatically. No more boilerplate's. Less code, more clean