question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add directory Lapindrome in exercises/

See original GitHub issue

adding lapindrome.py and example.py in python/exercises/Lapindrome

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Meg2troncommented, Oct 15, 2017

@m-a-ge the given program in /exercises/Lapindrome is used to check weather the given number is lapindrome or not i.e. it divides the given strings in two equal parts and then check the frequency of character in both halves of string . If the frequency of characters are equal then it is lapindrome else not

1reaction
tbhaxorcommented, Oct 15, 2017

@m-a-ge he added a python file lapindrome.py in /exercises/Lapindrome

What is lapindrome ?

Lapindrome is defined as a string which when split in the middle, gives two halves having the same characters and same frequency of each character. If there are odd number of characters in the string, we ignore the middle character and check for lapindrome

Read more comments on GitHub >

github_iconTop Results From Across the Web

Programming Assignment #7
This assignment contains two exercises based on linked list and stack classes ... Modify the List class (file list.h) to add the following ......
Read more >
Solutions to Exercises from Lab Session 05
Exercise 1: Palindromes with Awk. a) Apply the palindromes script to a large word list in order to find as many palindrome words...
Read more >
C Exercises: String representation of common directory paths
C programming, exercises, solution : Write a program in C language to get a part of the directory tree that is common to...
Read more >
Exercise: Alien Language Pattern Matching - The Code Ship
For every string pattern, move through it character by character. If an alphabetical character is found just add it to a list(line), on...
Read more >
Exercises - Runestone Academy
Note: For programming exercises, first draw a UML class diagram describing ... Write a method that could be added to the TextIO program...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found