Programing Wonders

-----------------------------------------------------------------------------------------------Learn a lot More !

Labels

android Assembly Language bash Beagle Bone Black c c++ CL1 competitive programming compiler computer vision data structure database dsps encryption games graphs hacks java linux lisp MIL monte carlo algo MPAL networking OOMCPL osa perl pl PL -3 PL-1 PL-2 PL-4 python qt recursive algorithms Scala security sorting storage terminal ubuntu utilities

Pages

  • Android App
  • Quick Links
  • Facebook Page
  • About Us
  • About Author
  • Changes!
  • Copyrights
  • Privacy Policy
  • Disclaimer
  • Contact Us

Wednesday, 2 November 2016

Print the number of substrings which are a Palindrome

Q: Given an input string, find out the number of substrings for the given strings which are palindromes.





Solution Strategy : Brute Force
Language : Python


Read more »
Posted by Abhishek Munagekar No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: python

Tuesday, 1 November 2016

C++:Printing the kth smallest suffix for a string

Prequisistes

  • Stl vector
  • std::sort() for vector
  • Pointers

Code 

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
Read more »
Posted by Abhishek Munagekar No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: c++, competitive programming, sorting
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Popular Posts

Blog Archive

  • ►  2017 (42)
    • ►  Oct (10)
    • ►  Sept (1)
    • ►  Aug (1)
    • ►  Jul (8)
    • ►  Jun (1)
    • ►  Apr (2)
    • ►  Mar (5)
    • ►  Feb (6)
    • ►  Jan (8)
  • ▼  2016 (83)
    • ►  Dec (1)
    • ▼  Nov (2)
      • Print the number of substrings which are a Palindrome
      • C++:Printing the kth smallest suffix for a string
    • ►  Oct (5)
    • ►  Sept (5)
    • ►  Aug (7)
    • ►  Jul (2)
    • ►  Jun (4)
    • ►  May (2)
    • ►  Apr (10)
    • ►  Mar (14)
    • ►  Feb (16)
    • ►  Jan (15)
  • ►  2015 (23)
    • ►  Dec (16)
    • ►  Nov (7)

Copyright Notice

© Abhishek Munagekar and Programing Wonders, 2015-17. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Abhishek Munagekar and Programing Wonders with appropriate and specific direction to the original content.
©Abhishek Munagekar&Programing Wonders, 2015-18. Awesome Inc. theme. Powered by Blogger.



Facebook Popup Widget