All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Word Problems
Word Wangle (Posted on 2022-03-27) Difficulty: 2 of 5
(i) Find a common 8-letter word that contains one letter occuring precisely five times.

(ii) Find a common 15-letter word that contains the letter E precisely 5 times and does NOT contain any other vowel.

*** No proper nouns, abbreviations, slangs or archaic/esoteric words.

See The Solution Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solutions (spoiler) Comment 1 of 1
clearvars,clc
letters8=fileread('c:\words\words8.txt');
l=length(letters8)/8;
for i=0:l-1
   w=char(extractBetween(letters8,8*i+1,8*i+8));
   wu=unique(w);
   for j=1:length(wu)
      ix=strfind(w,wu(j)); 
      if length(ix)==5

         disp(w)
       
      end
   end
end

letters15=fileread('c:\words\words15.txt');
l=length(letters15)/15;
for i=0:l-1
   w=char(extractBetween(letters15,15*i+1,15*i+15));
   ix=strfind(w,'e');
   if length(ix)==5
        good=true; 
        for k=1:length(w)
           if ~isempty(strfind('aiou',w(k)))
              good=false;
           end
        end
        if good
          disp(w) 
        end
   end
end

finds

(i)
assesses

and

(ii)
cheerlessnesses
defenselessness  (probably the one wanted)
fencelessnesses
nervelessnesses
pervertednesses
senselessnesses
sleeplessnesses
 

  Posted by Charlie on 2022-03-27 10:03:06
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information