Javamaniac

Pages

  • Home
  • OCA / OCP Preparation
  • Data Structures and Algorithm
  • Java Conceptual

Friday, September 11, 2015

Question - Reverse an array in specified group size. e.g. Array - 1,2,3,4,5,6,7,8,9 and grpSize -3 then output 3,2,1,6,5,4,9,8,7

Posted by Ashish K Gupta at 8:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Wednesday, September 9, 2015

Question - Given Two strings, return true if they are one edit away from each other else return false. An edit is insert/replace/delete a character. Ex. {"abc","ab"}->true, {abc","adc"}->true, {"abc","cab"}->false

Posted by Ashish K Gupta at 10:35 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

About Me

Ashish K Gupta
View my complete profile

Blog Archive

  • ►  2017 (1)
    • ►  May (1)
  • ►  2016 (4)
    • ►  December (1)
    • ►  June (2)
    • ►  May (1)
  • ▼  2015 (18)
    • ►  December (1)
    • ►  October (1)
    • ▼  September (2)
      • Question - Reverse an array in specified group siz...
      • Question - Given Two strings, return true if they ...
    • ►  July (2)
    • ►  June (12)

Labels

  • Binary
  • String
Ethereal theme. Powered by Blogger.