Wednesday 25 November 2015

Windows 10 Mobile : Apps Update

OneDrive and Camera Update


  • OneDrive version  from 17.4.1 to 17.5.1  
            Download
  • Camera app from 1088.11 to 1088.21
            Download

Friday 20 November 2015

Windows 10 Mobile : Latest preview 10.0.10586.11 - Version 1511 - build 10586.11

Bug fixes

  • Start experience corruption fixed after upgrading and restoring previous backups in build 10581
  • Default save locations in settings restored
  • Apps in SD card crashes compatibility improved
  • Improvements to Messaging + Skype app
  • Apps and games download more reliably
  • Improvements Store
  • resuming/loading text showing when switching apps noew improve in this version
  • physical camera button should be working again if it wasn’t working for those before

Wednesday 18 November 2015

Java 2D array Grid Search

Java 2D array:   Search sub array inside a array'

Note:
The first line contains an integer, T, which is the number of test cases. T test cases follow, each having a structure as described below:
The first line contains two space-separated integers, R and C, indicating the number of rows and columns in the grid G, respectively.
This is followed by R lines, each with a string of C digits, which represent the grid G.
The following line contains two tab-separated integers, r and c, indicating the number of rows and columns in the pattern grid P.
This is followed by r lines, each with a string of c digits, which represent the pattern P.

Solution:


import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Solution {
public static void main(String[] args)
{
   /--------------------Input------ see Note--------------------
    Scanner scan = new Scanner(System.in);
    int steps = Integer.parseInt(scan.nextLine());
    while(steps >0){
        int sr = scan.nextInt();
        int sc = scan.nextInt();
        boolean found = false;
        scan.nextLine();
        int[][] m1 = new int[sr][sc];
        for(int i=0;i<sr;i++){
            String row = scan.nextLine();
            for(int j=0;j<sc;j++){
                m1[i][j] = (int)(row.charAt(j) );
            }

        }
/--------------------Input End--------------------------
        int fr = scan.nextInt();
        int fc = scan.nextInt();

        scan.nextLine();
        int[][] m2 = new int[fr][fc];

        for(int i=0;i<fr;i++){
            String row = scan.nextLine();

            for(int j=0;j<fc;j++){
                m2[i][j] = (int)(row.charAt(j) );
            }

        }

        outLoop:
        for(int i=0;i<sr;i++){
            for(int j=0;j<sc;j++){
                if(m1[i][j]==m2[0][0]){
                   if(isMatrix(m1,m2,fr,fc,i,j) ){
                       found = true; 
                       break outLoop;
                   } else{
                       found = false;
                   }
                }
            }
        }

       String r = (found==true)?"YES":"NO"; 
       System.out.println(r);

        steps--;
    }
}
public static boolean isMatrix(int[][] m1, int[][] m2, int fr, int fc, int i, int j){
    boolean found = true;
    for(int a=0;a<fr;a++){
        for(int b=0;b<fc;b++){
            try{
                if(m2[a][b]!=m1[i+a][j+b]){                       
                    return false;
                }
            }
            catch(Exception e){
               return false;
            }

        }
    }
     return true;
}
}

Sunday 15 November 2015

Windows 10 : Latest version 10.0.10586 (TH2) Version 1511


  • 2nd general availability build
  • Windows should now remember your previous login type
  • Apps and games should download from the Windows Store more reliably
  • "Get fun facts, tips, tricks, and more on your lock screen" and "Occasionally show suggestions in Start" toggles added to the Pro edition of Windows 10
  • XTS-AES encryption algorithm for BitLocker
  • Enhanced Credential Guard

Thursday 5 November 2015

Windows 10 : 10.0.10586.0 Latest preview version (Build 10586)

Bug fixes

  • Audio player (like music from Groove, or videos from the Movies & TV app) notification pops up from Action Center is fixed.
  • Phone Sleep down instead of shutting it down when pressing 3 times power button.
  • disksnapshot.exe command prompt window would flash randomly.
  • Windows will remember your previous login type.
  • Microsoft Edge Tab previews were appearing as black if the page was not scrolled to the top, and web note clippings were also appearing as black
  • Some tome rotation or virtual mode screen size set larger than the physical screen size should no longer experience a bluescreen on upgrade.
  • Improvement of Store. Apps and games should download more reliably.
General Improvement 

  • When yor are upgrading from one Windows 10 Insider Preview build to another Insider Preview build, Skype messages and contacts will disappear from the Messaging + Skype app. You can get Skype messages and contacts back by navigating to “C:\Users\<USERNAME>\AppData\Local\Packages\Microsoft.Messaging_8wekyb3d8bbwe\LocalCache” in File Explorer and deleting or renaming the “PrivateTransportId” file. After deleting or renaming that file, go to the Skype video app and sign out of Skype and sign back in.
  • The Insider Hub might be gone after upgrading to this build. You can get Insider Hub back by going to Settings > System > Apps & features and clicking “Manage optional features”, choosing “Add a feature” and selecting Insider Hub.