Skip to main content

Posts

Showing posts from November, 2020

Complete E-commerce App in Flutter and Firebase

  This app contains authentication with create account process and login process.  This is how the app looks like, you can find the source code at the end.          Link to Source Code ThankYou!!

Top Questions asked by Facebook

                  Facebook is the dream company of almost every software engineer. If you are doing interview preparation, you can't skip the must do coding questions for Facebook. Facebook is the product-based company and tests the candidate on data structures and algorithms, and logical questions. The coding level is a bit tough, but you can do it with your hard work. Below is the list of coding questions you must prepare before sitting for Facebook. Smallest string which not a subsequence of the given string Maximum length possible by cutting N given woods into at least K pieces Count possible decodings of a given Digit Sequence | Set 2 Find the maximum path sum in a binary tree   Maximize profit for buying and selling stock given a series of price vectors Given  m  sorted arrays, find the  k- th smallest value Binary search in a sorted, rotated array Given a string, check if it is a palindrome  by ignoring spaces. E.g. race car would be a palindrome. Given two very large string

Top Questions asked By Walmart

  Discuss in detail what happens when you write a code and compile it. What is multithreading? State any C++ multithreading framework you might have worked with. Explain encapsulation, abstraction, polymorphism. Explain inheritance. What is the Diamond problem? How memory is allocated in C++. What is malloc? Differences from calloc? What is a microprocessor? Explain microservices architecture. Explain normalization and all their forms. Differences between inner and outer joins. DFS vs. BFS What is the heap? Detect a loop in the linked list. If a loop exists, return the start node of the loop. Find the third most frequent element in an array. Finding n next permutations using some specific set of digits given.   Find the number of ways of reaching from top left to bottom right of a matrix.   Minimum number of jumps to reach end given a number N. print in how many ways it can be represented as N = a+b+c+d , 1< =a< =b< =c< = d; 1<=N< = 5000  given two number l and r (l&l

Pokemon App in Flutter using Pokemon API

In this Article, we will we building a pokemon app using pokemon api. I hope you have Flutter installed and somewhat familiar with Flutter and APIs. Calling APIs for the data and then displaying that extracted data as a beautiful UI is my favorite task. Let's have a look what we will be building today -  1. Add "http" dependency in pubspec.yaml 2. Add this code in main.dart -  import 'package:http/http.dart' as http; import 'dart:convert' ; import 'package:flutter/material.dart'; void main () { runApp ( MyApp ()); } class MyApp extends StatelessWidget { @override Widget build ( BuildContext context) { return MaterialApp ( debugShowCheckedModeBanner : false , home : MyHomePage (), ); } } class MyHomePage extends StatefulWidget { @override _MyHomePageState createState () => _MyHomePageState (); } class _MyHomePageState extends State < MyHomePage > { Map pokeData; List pokeLis